diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 506adf8a..4d5af5ae 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 @@ -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 @@ -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