Skip to content

Commit

Permalink
Upload Coverage report to Codecov (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
taurus-forever authored Feb 14, 2023
1 parent 230b5a3 commit a8432e2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ jobs:
run: python3 -m pip install tox
- name: Run tests
run: tox run -e unit
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v3

build:
name: Build charms
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
*.charm
*.py[cod]
.coverage
coverage.xml
.tox/
.vscode/
__pycache__/
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ commands =
coverage run --source={[vars]src_path},{[vars]lib_path} \
-m pytest -v --tb native -s {posargs} {[vars]tests_path}/unit
coverage report
coverage xml

[testenv:integration-ha]
description = Run HA integration tests
Expand Down

0 comments on commit a8432e2

Please sign in to comment.