Skip to content

Commit cd3c4c8

Browse files
fix: make a PR
1 parent 8a338c3 commit cd3c4c8

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Workflow for Codecov example-python
2-
on: [push, pull_request]
2+
on: [push]
33
jobs:
44
run:
55
runs-on: ubuntu-latest
@@ -16,11 +16,6 @@ jobs:
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:
@@ -30,18 +25,8 @@ jobs:
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

0 commit comments

Comments
 (0)