diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 036bfc4..6bdcb75 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -70,14 +70,15 @@ jobs: run: | pytest --cov=sphinx_design --cov-report=xml --cov-report=term-missing - name: Upload to Codecov - if: (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) && matrix.python-version == '3.13' && matrix.sphinx-version == '~=8.0' && matrix.os == 'ubuntu-latest' + if: (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) && github.actor != 'dependabot[bot]' && matrix.python-version == '3.13' && matrix.sphinx-version == '~=8.0' && matrix.os == 'ubuntu-latest' uses: codecov/codecov-action@v7 with: token: ${{ secrets.CODECOV_TOKEN }} name: pytests flags: pytests files: ./coverage.xml - fail_ci_if_error: true + # coverage is informational: an upload failure must not fail CI + fail_ci_if_error: false docs-build-format: