We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbec220 commit a5dc7daCopy full SHA for a5dc7da
1 file changed
.github/workflows/tox-test.yml
@@ -41,6 +41,8 @@ jobs:
41
run: tox -e static
42
coverage:
43
runs-on: ubuntu-latest
44
+ permissions:
45
+ id-token: write
46
steps:
47
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
48
- name: Setup Python
@@ -57,9 +59,12 @@ jobs:
57
59
- name: Install pytest cov
58
60
run: pip install pytest-cov
61
- name: Upload coverage to Codecov
- uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6
62
+ uses: codecov/codecov-action@v6
63
+ if: github.event_name == 'pull_request' || (github.event_name == 'push' && github.ref =='refs/heads/master')
64
with:
- token: ${{ secrets.CODECOV_TOKEN }}
65
+ use_oidc: true
66
+ flags: unit-tests
67
+ files: coverage.xml
68
fail_ci_if_error: true
69
verbose: true
70
docs:
0 commit comments