Skip to content

Commit d2c2fe3

Browse files
authored
Update run-tests.yml
added tests against gymnasium<1.0.0 and gymnasium>=1.0.0
1 parent e06eeda commit d2c2fe3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/run-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
20+
gymnasium-version: ["<1.0.0", ">=1.0.0"]
2021

2122
steps:
2223
- uses: actions/checkout@v4
@@ -29,6 +30,7 @@ jobs:
2930
python -m pip install --upgrade pip
3031
python -m pip install flake8 pytest
3132
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
33+
python -m pip install 'gymnasium${{ matrix.gymnasium-version }}'
3234
- name: Lint with flake8
3335
run: |
3436
# stop the build if there are Python syntax errors or undefined names

0 commit comments

Comments
 (0)