...
Add something like the following to your github actions workflows so you can upload coverage info to CodeCov. Remove the “NOTE” comments before committing.
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 make break and nobody will notice. fail_ci_if_error: true |
2. GitHub App settings (done by a GitHub org admin, at Axim for openedx)
...