Skip to content

Commit

Permalink
Update coverage workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gallego-posada committed Dec 16, 2023
1 parent 0ef6931 commit 8b0702d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
# Setup lastest python version
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: "3.10"
Expand All @@ -26,8 +26,7 @@ jobs:
- name: Coverage tests
run: pytest --cov=cooper . --cov-report term-missing

- name: Codecov
if: success()
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
run: codecov
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 8b0702d

Please sign in to comment.