File tree 2 files changed +8
-35
lines changed
Filter options
2 files changed +8
-35
lines changed
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -14,17 +14,13 @@ jobs:
14
14
python-version : ' 3.10'
15
15
- name : Install dependencies
16
16
run : pip install -r requirements.txt
17
- - name : Run ATS
18
- uses : codecov/codecov-ats@v0
19
- env :
20
- CODECOV_STATIC_TOKEN : ${{ secrets.CODECOV_STATIC_TOKEN }}
21
- CODECOV_TOKEN : ${{ secrets.CODECOV_ORG_TOKEN }}
17
+
22
18
- name : Run tests and collect coverage
23
- run : pytest --cov app ${{ env.CODECOV_ATS_TESTS }}
19
+ run : pytest --cov app --junitxml=reportme.xml
20
+
24
21
- name : Upload coverage to Codecov
25
- uses : codecov/codecov-action@v4-beta
26
- with :
27
- flags : smart-tests
28
- verbose : true
29
- env :
30
- CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
22
+ run : |
23
+ curl -Os https://cli.codecov.io/v0.4.6/linux/codecov
24
+ chmod u+x codecov
25
+
26
+ ./codecov -v upload-process -f reportme.xml -t ${{ secrets.CODECOV_TOKEN }} --report-type test_results
You can’t perform that action at this time.
0 commit comments