Skip to content

Commit

Permalink
Merge pull request #110 from rocioar/fix-coverage-action
Browse files Browse the repository at this point in the history
Fix coverage action
  • Loading branch information
rocioar authored Apr 15, 2023
2 parents 6377ed6 + 805696b commit 04e644d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,9 @@ jobs:
- name: Install Dependencies
run: pip install poetry && poetry install
- name: Run Coverage
run: poetry run pytest --cov=.
run: poetry run pytest --cov=. --cov-report xml
- name: Upload Coverage
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
run: pip install codecov && codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true

0 comments on commit 04e644d

Please sign in to comment.