Skip to content

Commit

Permalink
[CI] Fix CI PettingZoo (pytorch#1528)
Browse files Browse the repository at this point in the history
Signed-off-by: Matteo Bettini <matbet@meta.com>
  • Loading branch information
matteobettini authored Sep 14, 2023
1 parent a73428b commit 274cdfc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/unittest/linux_libs/scripts_pettingzoo/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ export MAGNUM_LOG=verbose MAGNUM_GPU_VALIDATION=ON
# this workflow only tests the libs
python -c "import pettingzoo"

python .circleci/unittest/helpers/coverage_run_parallel.py -m pytest test/test_libs.py --instafail -v --durations 200 --capture no -k TestPettingZoo --error-for-skips
python .github/unittest/helpers/coverage_run_parallel.py -m pytest test/test_libs.py --instafail -v --durations 200 --capture no -k TestPettingZoo --error-for-skips
coverage combine
coverage xml -i
8 changes: 4 additions & 4 deletions .github/workflows/test-linux-pettingzoo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
nvidia-smi
bash .circleci/unittest/linux_libs/scripts_pettingzoo/setup_env.sh
bash .circleci/unittest/linux_libs/scripts_pettingzoo/install.sh
bash .circleci/unittest/linux_libs/scripts_pettingzoo/run_test.sh
bash .circleci/unittest/linux_libs/scripts_pettingzoo/post_process.sh
bash .github/unittest/linux_libs/scripts_pettingzoo/setup_env.sh
bash .github/unittest/linux_libs/scripts_pettingzoo/install.sh
bash .github/unittest/linux_libs/scripts_pettingzoo/run_test.sh
bash .github/unittest/linux_libs/scripts_pettingzoo/post_process.sh
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def _main(argv):
"checkpointing": [
"torchsnapshot",
],
"marl": ["vmas"],
"marl": ["vmas>=1.2.10", "pettingzoo>=1.24.1"],
},
zip_safe=False,
classifiers=[
Expand Down

0 comments on commit 274cdfc

Please sign in to comment.