Skip to content

Commit

Permalink
fix: try the uploader
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrockhu-codecov committed Feb 5, 2024
1 parent 10d8dd2 commit e763f3b
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,16 @@ jobs:
- name: Run tests and collect coverage
run: pytest --cov app

- name: Upload coverage to Codecov using uploader
run: |
curl -Os https://uploader.codecov.io/v0.7.1/linux/codecov
chmod u+x codecov
./codecov -Z -v
rm ./codecov
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

- name: Upload coverage to Codecov using CLI
run: |
curl -Os https://cli.codecov.io/v0.4.6/linux/codecov
Expand All @@ -26,9 +36,9 @@ jobs:
#./codecov --auto-load-params-from GithubActions create-commit -Z
#./codecov --auto-load-params-from GithubActions create-report -Z
#./codecov --auto-load-params-from GithubActions do-upload -Z
./codecov create-commit -Z --git-service github
./codecov create-report -Z --git-service github
./codecov do-upload -Z --git-service github
./codecov -v create-commit -Z --git-service github
./codecov -v create-report -Z --git-service github
./codecov -v do-upload -Z --git-service github
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

Expand Down

0 comments on commit e763f3b

Please sign in to comment.