Skip to content

Commit

Permalink
#357 fix teast_decaf.py slurm problem
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelToman committed Jan 28, 2025
1 parent dfb8b9e commit 384b15a
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ local_xgbse_preinstallopts = (
" pyproject.toml && "
)

# fix test_decaf.py slurm problem
local_pretestopts = "export SLURM_NTASKS_PER_NODE=$SLURM_NTASKS && "

exts_list = [
# tests exts:
('stevedore', '5.3.0', {
Expand Down Expand Up @@ -228,7 +231,7 @@ exts_list = [
(name, version, {
'source_urls': ['https://github.com/vanderschaarlab/synthcity/archive/'],
'sources': [{'download_filename': 'v%(version)s.tar.gz', 'filename': SOURCE_TAR_GZ}],
'runtest': 'cd tests && pytest -vvvs -m "not slow" --ignore=plugins/generic/test_great.py',
'runtest': local_pretestopts + 'cd tests && pytest -vvvs -m "not slow" --ignore=plugins/generic/test_great.py',
'testinstall': True,
'checksums': ['5926d2e869e1528e556fb794d5f7e914c635113f9cc58034612fa067cdbf84d4'],
}),
Expand Down

0 comments on commit 384b15a

Please sign in to comment.