Skip to content

Commit

Permalink
Merge pull request #394 from HERA-Team/add-codecov-secret
Browse files Browse the repository at this point in the history
Fix test errors: codecov secret and missing package for docs
  • Loading branch information
steven-murray committed Feb 12, 2024
2 parents 7f101f1 + 7f4d549 commit 369ffb6
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ jobs:
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: ./coverage.xml
directory: ./coverage/reports/
Expand Down
13 changes: 10 additions & 3 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ build:
tools:
python: "3.11"

python:
install:
- method: pip
path: .
extra_requirements:
- docs

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py
Expand All @@ -28,6 +35,6 @@ sphinx:
# Optional but recommended, declare the Python requirements required
# to build your documentation
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- requirements: docs/requirements.txt
# python:
# install:
# - requirements: docs/requirements.txt
3 changes: 0 additions & 3 deletions docs/requirements.txt

This file was deleted.

5 changes: 4 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,15 @@ exclude =

[options.extras_require]
docs =
sphinx>=1.8
sphinx==5.3.0
sphinx_rtd_theme==1.1.1
readthedocs-sphinx-search==0.1.1
nbsphinx
ipython
sphinx_autorun
numpydoc>=0.8
nbsphinx
mock==1.0.1
tests =
coverage>=4.5.1
pytest>=3.5.1
Expand Down

0 comments on commit 369ffb6

Please sign in to comment.