Skip to content

Commit 368600c

Browse files
authored
trying running global in all commands.
1 parent 73b1cf3 commit 368600c

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/testslurm.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,12 @@ jobs:
3535
docker exec slurm bash -c "echo $NO_ET"
3636
docker exec slurm bash -c "ls -la && echo list top level dir"
3737
docker exec slurm bash -c "ls -la /pydra && echo list pydra dir"
38-
docker exec slurm bash -c "pyenv global 3.9.16"
39-
docker exec slurm bash -c "pip3.9 install --upgrade pip && pip3.9 install -e /pydra[test] && python3.9 -c 'import pydra; print(pydra.__version__)'"
38+
docker exec slurm bash -c "pyenv global 3.9.16 && pip3.9 install --upgrade pip && pip3.9 install -e /pydra[test] && python3.9 -c 'import pydra; print(pydra.__version__)'"
4039
- name: Run pytest
4140
run: |
42-
docker exec slurm bash -c "pytest --color=yes -vs -n auto --cov pydra --cov-config /pydra/.coveragerc --cov-report xml:/pydra/cov.xml --doctest-modules /pydra/pydra/ -k 'not test_audit_prov and not test_audit_prov_messdir_1 and not test_audit_prov_messdir_2 and not test_audit_prov_wf and not test_audit_all'"
41+
docker exec slurm bash -c "pyenv global 3.9.16 && pytest --color=yes -vs -n auto --cov pydra --cov-config /pydra/.coveragerc --cov-report xml:/pydra/cov.xml --doctest-modules /pydra/pydra/ -k 'not test_audit_prov and not test_audit_prov_messdir_1 and not test_audit_prov_messdir_2 and not test_audit_prov_wf and not test_audit_all'"
4342
- name: Upload to codecov
4443
run: |
45-
docker exec slurm bash -c "pip3.9 install urllib3==1.26.6"
46-
docker exec slurm bash -c "codecov --root /pydra -f /pydra/cov.xml -F unittests"
44+
docker exec slurm bash -c "pyenv global 3.9.16 && pip3.9 install urllib3==1.26.6"
45+
docker exec slurm bash -c "pyenv global 3.9.16 && codecov --root /pydra -f /pydra/cov.xml -F unittests"
4746
docker rm -f slurm

0 commit comments

Comments
 (0)