diff --git a/.github/workflows/run-pytest.yml b/.github/workflows/run-pytest.yml index 95080ccbb..7ded82063 100644 --- a/.github/workflows/run-pytest.yml +++ b/.github/workflows/run-pytest.yml @@ -8,7 +8,7 @@ jobs: build-all: runs-on: ubuntu-latest strategy: - fail-fast: false + fail-fast: true matrix: python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] numpy-version: ['>=1.21,<2.0', '>=2.0'] @@ -25,7 +25,7 @@ jobs: - name: Run tests run: docker run gymnasium-all-docker pytest tests/* - name: Run doctests - # if: ${{ matrix.numpy-version == '>=2.0' }} + if: ${{ matrix.python-version != '3.8' }} run: docker run gymnasium-all-docker pytest --doctest-modules gymnasium/ build-necessary: