Skip to content

Commit

Permalink
Potential fix to Python 3.8 being deprecated for Sphinx-Build
Browse files Browse the repository at this point in the history
  • Loading branch information
XyDrKRulof committed May 29, 2024
1 parent 68a0e10 commit 93c0935
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,12 @@ jobs:
- name: Test with pytest
env:
PY_VER: ${{ matrix.python-version }}
run: |
if [[ "$PY_VER" = "3.7" ]]; then pytest --cov=gym_electric_motor tests/; else pytest; fi
if [[ "$PY_VER" = "3.7" ]]; then bash <(curl -s https://codecov.io/bash); fi # code coverage report upload
build-doc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build Sphinx documentation
uses: ammaraskar/sphinx-action@master
uses: josh146/sphinx-action@master
with:
pre-build-command: "python -m pip install sphinx m2r2 sphinx_rtd_theme==1.3.0 && python -m pip install -r requirements.txt & python -m pip install ."
docs-folder: "docs/"
Expand Down

0 comments on commit 93c0935

Please sign in to comment.