Skip to content
This repository was archived by the owner on Sep 4, 2022. It is now read-only.

Commit

Permalink
fix(codecov): generate coverage.xml from pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
samimusallam committed May 16, 2022
1 parent f9c107f commit 8b4cec8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,4 @@ jobs:
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v2
with:
directory: ./coverage
token: ${{ secrets.CODECOV_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.idea/
.vscode/
.coverage
coverage.xml
.pytest_cache
dist/
coverage/
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ build:

.PHONY: test
test:
poetry run pytest --forked --cov=cisco_telescope
poetry run pytest --forked --cov=cisco_telescope --cov-report=xml

.PHONY: proto
proto:
Expand Down

0 comments on commit 8b4cec8

Please sign in to comment.