16
16
fail-fast : false
17
17
matrix :
18
18
python-version : [3.8]
19
- poetry-version : [1.1.11 ]
19
+ poetry-version : [1.2 ]
20
20
os : [ubuntu-18.04, macos-latest, windows-latest]
21
21
runs-on : ${{ matrix.os }}
22
22
steps :
@@ -31,19 +31,19 @@ jobs:
31
31
32
32
# classic control tests
33
33
- name : Install core dependencies
34
- run : poetry install -E pytest
34
+ run : poetry install --with pytest
35
35
- name : Downgrade setuptools
36
36
run : poetry run pip install setuptools==59.5.0
37
37
- name : Run core tests
38
38
run : poetry run pytest tests/test_classic_control.py
39
39
- name : Install jax
40
40
if : runner.os == 'Linux' || runner.os == 'macOS'
41
- run : poetry install -E jax
41
+ run : poetry install --with jax
42
42
- name : Run core tests with jax
43
43
if : runner.os == 'Linux' || runner.os == 'macOS'
44
44
run : poetry run pytest tests/test_classic_control_jax.py
45
45
- name : Install tuner dependencies
46
- run : poetry install -E optuna
46
+ run : poetry install --with optuna
47
47
- name : Run tuner tests
48
48
run : poetry run pytest tests/test_tuner.py
49
49
52
52
fail-fast : false
53
53
matrix :
54
54
python-version : [3.8]
55
- poetry-version : [1.1.11 ]
55
+ poetry-version : [1.2 ]
56
56
os : [ubuntu-18.04, macos-latest, windows-latest]
57
57
runs-on : ${{ matrix.os }}
58
58
steps :
@@ -67,14 +67,14 @@ jobs:
67
67
68
68
# atari tests
69
69
- name : Install atari dependencies
70
- run : poetry install -E " pytest atari"
70
+ run : poetry install --with pytest, atari
71
71
- name : Downgrade setuptools
72
72
run : poetry run pip install setuptools==59.5.0
73
73
- name : Run atari tests
74
74
run : poetry run pytest tests/test_atari.py
75
75
- name : Install jax
76
76
if : runner.os == 'Linux' || runner.os == 'macOS'
77
- run : poetry install -E jax
77
+ run : poetry install --with jax
78
78
- name : Run core tests with jax
79
79
if : runner.os == 'Linux' || runner.os == 'macOS'
80
80
run : poetry run pytest tests/test_atari_jax.py
84
84
fail-fast : false
85
85
matrix :
86
86
python-version : [3.8]
87
- poetry-version : [1.1.11 ]
87
+ poetry-version : [1.2 ]
88
88
os : [ubuntu-18.04, macos-latest, windows-latest]
89
89
runs-on : ${{ matrix.os }}
90
90
steps :
99
99
100
100
# pybullet tests
101
101
- name : Install core dependencies
102
- run : poetry install -E pytest
102
+ run : poetry install --with pytest
103
103
- name : Install pybullet dependencies
104
- run : poetry install -E pybullet
104
+ run : poetry install --with pybullet
105
105
- name : Downgrade setuptools
106
106
run : poetry run pip install setuptools==59.5.0
107
107
- name : Run pybullet tests
@@ -112,7 +112,7 @@ jobs:
112
112
fail-fast : false
113
113
matrix :
114
114
python-version : [3.8]
115
- poetry-version : [1.1.11 ]
115
+ poetry-version : [1.2 ]
116
116
os : [ubuntu-18.04, macos-latest, windows-latest]
117
117
runs-on : ${{ matrix.os }}
118
118
steps :
@@ -127,7 +127,7 @@ jobs:
127
127
128
128
# procgen tests
129
129
- name : Install core dependencies
130
- run : poetry install -E " pytest procgen"
130
+ run : poetry install --with pytest, procgen
131
131
- name : Downgrade setuptools
132
132
run : poetry run pip install setuptools==59.5.0
133
133
- name : Run pybullet tests
@@ -139,7 +139,7 @@ jobs:
139
139
fail-fast : false
140
140
matrix :
141
141
python-version : [3.8]
142
- poetry-version : [1.1.11 ]
142
+ poetry-version : [1.2 ]
143
143
os : [ubuntu-18.04]
144
144
runs-on : ${{ matrix.os }}
145
145
steps :
@@ -154,13 +154,13 @@ jobs:
154
154
155
155
# mujoco tests
156
156
- name : Install core dependencies
157
- run : poetry install -E pytest
157
+ run : poetry install --with pytest
158
158
- name : Install pybullet dependencies
159
- run : poetry install -E pybullet
159
+ run : poetry install --with pybullet
160
160
- name : Install mujoco dependencies
161
- run : poetry install -E mujoco
161
+ run : poetry install --with mujoco
162
162
- name : Install jax dependencies
163
- run : poetry install -E jax
163
+ run : poetry install --with jax
164
164
- name : Downgrade setuptools
165
165
run : poetry run pip install setuptools==59.5.0
166
166
- name : install mujoco dependencies
@@ -178,7 +178,7 @@ jobs:
178
178
fail-fast : false
179
179
matrix :
180
180
python-version : [3.8]
181
- poetry-version : [1.1.11 ]
181
+ poetry-version : [1.2 ]
182
182
os : [ubuntu-18.04]
183
183
runs-on : ${{ matrix.os }}
184
184
steps :
@@ -193,7 +193,7 @@ jobs:
193
193
194
194
# envpool tests
195
195
- name : Install envpool dependencies
196
- run : poetry install -E " pytest envpool"
196
+ run : poetry install --with pytest, envpool
197
197
- name : Downgrade setuptools
198
198
run : poetry run pip install setuptools==59.5.0
199
199
- name : Run envpool tests
@@ -204,7 +204,7 @@ jobs:
204
204
fail-fast : false
205
205
matrix :
206
206
python-version : [3.8]
207
- poetry-version : [1.1.11 ]
207
+ poetry-version : [1.2 ]
208
208
os : [ubuntu-18.04]
209
209
runs-on : ${{ matrix.os }}
210
210
steps :
@@ -219,7 +219,7 @@ jobs:
219
219
220
220
# atari multigpu tests
221
221
- name : Install atari dependencies
222
- run : poetry install -E " pytest atari"
222
+ run : poetry install --with pytest, atari
223
223
- name : Downgrade setuptools
224
224
run : poetry run pip install setuptools==59.5.0
225
225
- name : Run atari tests
@@ -230,7 +230,7 @@ jobs:
230
230
fail-fast : false
231
231
matrix :
232
232
python-version : [3.8]
233
- poetry-version : [1.1.11 ]
233
+ poetry-version : [1.2 ]
234
234
os : [ubuntu-18.04, macos-latest]
235
235
runs-on : ${{ matrix.os }}
236
236
steps :
@@ -245,7 +245,7 @@ jobs:
245
245
246
246
# pettingzoo tests
247
247
- name : Install pettingzoo dependencies
248
- run : poetry install -E " pytest pettingzoo atari"
248
+ run : poetry install --with pytest, pettingzoo, atari
249
249
- name : Downgrade setuptools
250
250
run : poetry run pip install setuptools==59.5.0
251
251
- name : Install ROMs
0 commit comments