File tree Expand file tree Collapse file tree 1 file changed +22
-2
lines changed Expand file tree Collapse file tree 1 file changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ on: [push, pull_request]
33jobs :
44 run :
55 runs-on : ubuntu-latest
6+ permissions :
7+ id-token : write
68 steps :
79 - name : Checkout
810 uses : actions/checkout@v4
1416 run : pip install -r requirements.txt
1517 - name : Run tests and collect coverage
1618 run : pytest --cov app
17- - name : Upload coverage to Codecov
18- uses : codecov/codecov-action@v5
19+ - name : Upload coverage to Codecov (arg token)
20+ uses : codecov/codecov-action@main
1921 with :
22+ fail_ci_if_error : true
23+ token : ${{ secrets.CODECOV_TOKEN }}
24+ verbose : true
25+ - name : Upload coverage to Codecov (env token)
26+ uses : codecov/codecov-action@main
27+ with :
28+ fail_ci_if_error : true
2029 verbose : true
2130 env :
2231 CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
32+ - name : Upload coverage to Codecov (no token)
33+ uses : codecov/codecov-action@main
34+ with :
35+ fail_ci_if_error : true
36+ verbose : true
37+ - name : Upload coverage to Codecov (oidc)
38+ uses : codecov/codecov-action@main
39+ with :
40+ fail_ci_if_error : true
41+ use_oidc : true
42+ verbose : true
You can’t perform that action at this time.
0 commit comments