...
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 makemay break and nobody will notice. fail_ci_if_error: true |
If you are updating a repo that already uses codecov, be sure to update every workflow file that uses it. Search the .github
folder for the string "codecov" to be sure.
2. GitHub App settings (done by a GitHub org admin, at Axim for openedx)
...