Skip to content

Commit

Permalink
fix: replacing the action with the cli
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrockhu-codecov committed Jun 21, 2023
1 parent c1be0ae commit b80f7b1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,14 @@ jobs:
python-version: '3.10'
- name: Install dependencies
run: pip install -r requirements.txt
- name: Install codecov cli
run: pip install codecov-cli
- name: Run tests and collect coverage
run: pytest --cov app

- name: Create a commit on Codecov
run: codecovcli create-commit -t e2800f80-c8a1-4b0b-b267-f2525e35b757
- name: Create a report on Codecov
run: codecovcli create-report -t e2800f80-c8a1-4b0b-b267-f2525e35b757
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
run: codecovcli do-upload -t e2800f80-c8a1-4b0b-b267-f2525e35b757

0 comments on commit b80f7b1

Please sign in to comment.