...
Code Block | ||
---|---|---|
| ||
- name: Upload coverage to CodeCov # NOTE: If your workflow uses a matrix, then edit the `if:` line so that codeocov # runs on the newest passing set of versions. If your workflow doesn't use # a matrix, then just delete the `if:` line. if: ${{ matrix.python-version == '3.12' && matrix.toxenv == 'django42' }} uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} # NOTE: Change this to 'false' if you want codecov failures to still quietly let the # workflow pass. We only recommend this in cases where the workflow passing # is more important than codecov working; for example, package releases. At # least one workflow in your repo should have `fail_ci_if_error: true`; otherwise, # codecov may break and nobody will notice. fail_ci_if_error: true |
...