Skip to content

Commit e763f3b

Browse files
fix: try the uploader
1 parent 10d8dd2 commit e763f3b

1 file changed

Lines changed: 13 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,16 @@ jobs:
1818
- name: Run tests and collect coverage
1919
run: pytest --cov app
2020

21+
- name: Upload coverage to Codecov using uploader
22+
run: |
23+
curl -Os https://uploader.codecov.io/v0.7.1/linux/codecov
24+
chmod u+x codecov
25+
26+
./codecov -Z -v
27+
rm ./codecov
28+
env:
29+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
30+
2131
- name: Upload coverage to Codecov using CLI
2232
run: |
2333
curl -Os https://cli.codecov.io/v0.4.6/linux/codecov
@@ -26,9 +36,9 @@ jobs:
2636
#./codecov --auto-load-params-from GithubActions create-commit -Z
2737
#./codecov --auto-load-params-from GithubActions create-report -Z
2838
#./codecov --auto-load-params-from GithubActions do-upload -Z
29-
./codecov create-commit -Z --git-service github
30-
./codecov create-report -Z --git-service github
31-
./codecov do-upload -Z --git-service github
39+
./codecov -v create-commit -Z --git-service github
40+
./codecov -v create-report -Z --git-service github
41+
./codecov -v do-upload -Z --git-service github
3242
env:
3343
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
3444

0 commit comments

Comments
 (0)