File tree Expand file tree Collapse file tree 1 file changed +2
-17
lines changed Expand file tree Collapse file tree 1 file changed +2
-17
lines changed Original file line number Diff line number Diff line change 11name : Workflow for Codecov example-python
2- on : [push, pull_request ]
2+ on : [push]
33jobs :
44 run :
55 runs-on : ubuntu-latest
1616 run : pip install -r requirements.txt
1717 - name : Run tests and collect coverage
1818 run : pytest --cov app --junitxml=junit.xml -o junit_family=legacy
19- - name : Upload test results to Codecov
20- if : ${{ !cancelled() }}
21- uses : codecov/test-results-action@v1
22- with :
23- token : ${{ secrets.CODECOV_TOKEN }}
2419 - name : Upload coverage to Codecov (arg token)
2520 uses : codecov/codecov-action@main
2621 with :
3025 - name : Upload coverage to Codecov (env token)
3126 uses : codecov/codecov-action@main
3227 with :
28+ pr : 328
3329 fail_ci_if_error : true
3430 verbose : true
3531 env :
3632 CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
37- - name : Upload coverage to Codecov (no token)
38- uses : codecov/codecov-action@main
39- with :
40- fail_ci_if_error : true
41- verbose : true
42- - name : Upload coverage to Codecov (oidc)
43- uses : codecov/codecov-action@main
44- with :
45- fail_ci_if_error : true
46- use_oidc : true
47- verbose : true
You can’t perform that action at this time.
0 commit comments