|
56 | 56 | poetry-version: ${{ matrix.poetry-version }}
|
57 | 57 |
|
58 | 58 | # atari tests
|
59 |
| - - name: Install core dependencies |
60 |
| - run: poetry install -E pytest |
61 | 59 | - name: Install atari dependencies
|
62 |
| - run: poetry install -E atari |
| 60 | + run: poetry install -E "pytest atari" |
63 | 61 | - name: Downgrade setuptools
|
64 | 62 | run: poetry run pip install setuptools==59.5.0
|
65 | 63 | - name: Run atari tests
|
@@ -156,3 +154,55 @@ jobs:
|
156 | 154 | libosmesa6-dev patchelf
|
157 | 155 | - name: Run mujoco tests
|
158 | 156 | run: poetry run pytest tests/test_mujoco.py
|
| 157 | + |
| 158 | + test-envpool-envs: |
| 159 | + strategy: |
| 160 | + fail-fast: false |
| 161 | + matrix: |
| 162 | + python-version: [3.8] |
| 163 | + poetry-version: [1.1.11] |
| 164 | + os: [ubuntu-18.04] |
| 165 | + runs-on: ${{ matrix.os }} |
| 166 | + steps: |
| 167 | + - uses: actions/checkout@v2 |
| 168 | + - uses: actions/setup-python@v2 |
| 169 | + with: |
| 170 | + python-version: ${{ matrix.python-version }} |
| 171 | + - name: Run image |
| 172 | + uses: abatilo/actions-poetry@v2.0.0 |
| 173 | + with: |
| 174 | + poetry-version: ${{ matrix.poetry-version }} |
| 175 | + |
| 176 | + # envpool tests |
| 177 | + - name: Install envpool dependencies |
| 178 | + run: poetry install -E "pytest envpool" |
| 179 | + - name: Downgrade setuptools |
| 180 | + run: poetry run pip install setuptools==59.5.0 |
| 181 | + - name: Run envpool tests |
| 182 | + run: poetry run pytest tests/test_envpool.py |
| 183 | + |
| 184 | + test-atari-multigpu-envs: |
| 185 | + strategy: |
| 186 | + fail-fast: false |
| 187 | + matrix: |
| 188 | + python-version: [3.8] |
| 189 | + poetry-version: [1.1.11] |
| 190 | + os: [ubuntu-18.04] |
| 191 | + runs-on: ${{ matrix.os }} |
| 192 | + steps: |
| 193 | + - uses: actions/checkout@v2 |
| 194 | + - uses: actions/setup-python@v2 |
| 195 | + with: |
| 196 | + python-version: ${{ matrix.python-version }} |
| 197 | + - name: Run image |
| 198 | + uses: abatilo/actions-poetry@v2.0.0 |
| 199 | + with: |
| 200 | + poetry-version: ${{ matrix.poetry-version }} |
| 201 | + |
| 202 | + # atari multigpu tests |
| 203 | + - name: Install atari dependencies |
| 204 | + run: poetry install -E "pytest atari" |
| 205 | + - name: Downgrade setuptools |
| 206 | + run: poetry run pip install setuptools==59.5.0 |
| 207 | + - name: Run atari tests |
| 208 | + run: poetry run pytest tests/test_atari_multigpu.py |
0 commit comments