Skip to content

Commit e4e3edf

Browse files
fix: use the sentry cli
1 parent ad510fa commit e4e3edf

File tree

1 file changed

+4
-26
lines changed

1 file changed

+4
-26
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -18,30 +18,8 @@ jobs:
1818
run: pytest --cov app --junitxml=junit.xml -o junit_family=legacy
1919
- name: Upload test results to Codecov
2020
if: ${{ !cancelled() }}
21-
uses: codecov/test-results-action@v1
22-
with:
23-
token: ${{ secrets.CODECOV_TOKEN }}
24-
- name: Upload coverage to Codecov (arg token)
25-
uses: codecov/codecov-action@main
26-
with:
27-
fail_ci_if_error: true
28-
token: ${{ secrets.CODECOV_TOKEN }}
29-
verbose: true
30-
- name: Upload coverage to Codecov (env token)
31-
uses: codecov/codecov-action@main
32-
with:
33-
fail_ci_if_error: true
34-
verbose: true
21+
run: |
22+
pip install sentry-prevent-cli
23+
sentry-prevent-cli -v upload --report-type test-results
3524
env:
36-
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
25+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)