Skip to content

Commit 17872c5

Browse files
committed
fix agilerl tests
1 parent f23b45d commit 17872c5

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ jobs:
3131
export PATH=/path/to/parallel:$PATH
3232
export root_dir=$(pwd)
3333
cd tutorials/${{ matrix.tutorial }}
34-
pip install $(grep -ivE "pettingzoo" requirements.txt)
34+
grep -ivE "pettingzoo" requirements.txt > _requirements.txt
35+
pip install -r _requirements.txt
3536
pip install -e $root_dir[all]
3637
pip install -e $root_dir[testing]
3738
AutoROM -v
@@ -56,7 +57,8 @@ jobs:
5657
export PATH=/path/to/parallel:$PATH
5758
export root_dir=$(pwd)
5859
cd tutorials/${{ matrix.tutorial }}
59-
pip install $(grep -ivE "pettingzoo" requirements.txt)
60+
grep -ivE "pettingzoo" requirements.txt > _requirements.txt
61+
pip install -r _requirements.txt
6062
pip install -e $root_dir[all]
6163
pip install -e $root_dir[testing]
6264
AutoROM -v

tutorials/AgileRL/requirements.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
agilerl==0.1.22
1+
agilerl==0.1.22; python_version >= '3.9'
22
pettingzoo[classic,atari,mpe]>=1.23.1
33
SuperSuit>=3.9.0
44
torch>=2.0.1
@@ -9,4 +9,3 @@ gymnasium>=0.28.1
99
imageio>=2.31.1
1010
Pillow>=9.5.0
1111
PyYAML>=5.4.1
12-
wandb>=0.16.0

0 commit comments

Comments
 (0)