Skip to content

Commit fa88fb6

Browse files
committed
improve deps installation process in workflows/linux-tutorials-test.yml
1 parent 964cf88 commit fa88fb6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/linux-tutorials-test.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ jobs:
3131
export PATH=/path/to/parallel:$PATH
3232
export root_dir=$(pwd)
3333
cd tutorials/${{ matrix.tutorial }}
34-
pip install -r requirements.txt
35-
pip uninstall -y pettingzoo
34+
pip install $(grep -ivE "pettingzoo" requirements.txt)
3635
pip install -e $root_dir[testing]
3736
AutoROM -v
3837
for f in *.py; do xvfb-run -a -s "-screen 0 1024x768x24" python "$f"; done
@@ -56,8 +55,7 @@ jobs:
5655
export PATH=/path/to/parallel:$PATH
5756
export root_dir=$(pwd)
5857
cd tutorials/${{ matrix.tutorial }}
59-
pip install -r requirements.txt
60-
pip uninstall -y pettingzoo
58+
pip install $(grep -ivE "pettingzoo" requirements.txt)
6159
pip install -e $root_dir[testing]
6260
AutoROM -v
6361
for f in *.py; do xvfb-run -a -s "-screen 0 1024x768x24" python "$f"; done

0 commit comments

Comments
 (0)