Skip to content

Commit

Permalink
Merge pull request #42 from Erotemic/dev/fix-rtd
Browse files Browse the repository at this point in the history
Fix RTD for 2024 services
  • Loading branch information
Purg authored May 21, 2024
2 parents 68a66ea + aa8858b commit c52b243
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci-unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,13 @@ jobs:
run: poetry run pytest

- name: CodeCov report submission
if: ${{ github.event_name != 'schedule' }}
uses: codecov/codecov-action@v3
# Only upload coverage if we have the token
env:
HAVE_CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN != '' }}
if: ${{ github.event_name != 'schedule' && env.HAVE_CODECOV_TOKEN == 'true' }}
uses: codecov/[email protected]
with:
fail_ci_if_error: true
files: coverage.xml
flags: unittests
token: ${{ secrets.CODECOV_TOKEN }}
5 changes: 4 additions & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
version: 2
formats:
- pdf
build:
os: "ubuntu-22.04"
tools:
python: "3.8"
python:
version: 3.8
install:
- requirements: docs/readthedocs-reqs.txt
- method: pip
Expand Down
2 changes: 2 additions & 0 deletions docs/readthedocs-reqs.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Sphinx >= 3.5.3
sphinx-rtd-theme >= 0.5.1
# Additional requirements for building our documentation in RTD
sphinx-argparse==0.2.5
sphinx-prompt==1.4.0
2 changes: 2 additions & 0 deletions docs/release_notes/pending_release.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ Updates / New Features

Fixes
-----

* Fixes for CI and readthedocs

0 comments on commit c52b243

Please sign in to comment.