Skip to content

Commit

Permalink
Merge pull request #244 from upb-lea/SphinxUpdate
Browse files Browse the repository at this point in the history
Fix to Python 3.8 being deprecated for Sphinx-Build
  • Loading branch information
bhk11 authored May 29, 2024
2 parents 68a0e10 + ce1922d commit 0a1d2da
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,15 @@ jobs:
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
pytest
build-doc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build Sphinx documentation
uses: ammaraskar/sphinx-action@master
uses: nicholasphair/sphinx-action@7.0.0
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 ."
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/"
# Publish built docs to gh-pages branch.
# ===============================
Expand Down

0 comments on commit 0a1d2da

Please sign in to comment.