Skip to content

Commit

Permalink
Fixing codecov upload (#197)
Browse files Browse the repository at this point in the history
* fix upload

* use token

* update version
  • Loading branch information
MateoLostanlen authored May 21, 2024
1 parent 94469dd commit 77a7e29
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
with:
persist-credentials: false
- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
architecture: x64
Expand Down Expand Up @@ -52,9 +52,13 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: actions/download-artifact@v2
with:
name: coverage-main
path: ./coverage.xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }} # Use the Codecov token from secrets
flags: unittests
fail_ci_if_error: true

Expand Down Expand Up @@ -82,10 +86,8 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -e ".[docs]" --upgrade
- name: Build documentation
run: sphinx-build docs/source docs/build -a

- name: Documentation sanity check
run: test -e docs/build/index.html || exit

Expand Down

0 comments on commit 77a7e29

Please sign in to comment.