Skip to content

Commit

Permalink
improve deps installation process in workflows/linux-tutorials-test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mwydmuch committed Jan 7, 2025
1 parent 964cf88 commit fa88fb6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/linux-tutorials-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ jobs:
export PATH=/path/to/parallel:$PATH
export root_dir=$(pwd)
cd tutorials/${{ matrix.tutorial }}
pip install -r requirements.txt
pip uninstall -y pettingzoo
pip install $(grep -ivE "pettingzoo" requirements.txt)
pip install -e $root_dir[testing]
AutoROM -v
for f in *.py; do xvfb-run -a -s "-screen 0 1024x768x24" python "$f"; done
Expand All @@ -56,8 +55,7 @@ jobs:
export PATH=/path/to/parallel:$PATH
export root_dir=$(pwd)
cd tutorials/${{ matrix.tutorial }}
pip install -r requirements.txt
pip uninstall -y pettingzoo
pip install $(grep -ivE "pettingzoo" requirements.txt)
pip install -e $root_dir[testing]
AutoROM -v
for f in *.py; do xvfb-run -a -s "-screen 0 1024x768x24" python "$f"; done

0 comments on commit fa88fb6

Please sign in to comment.