Skip to content

Commit

Permalink
Added converage
Browse files Browse the repository at this point in the history
  • Loading branch information
AKuederle committed Nov 2, 2021
1 parent 51854a4 commit 9ec2355
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/test-and-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,7 @@ jobs:
- name: Linting
run: |
poetry run doit -v 0 --continue format_check lint
- name: "Upload coverage to Codecov"
uses: codecov/codecov-action@v2
with:
fail_ci_if_error: true
2 changes: 1 addition & 1 deletion dodo.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def task_format_check():

def task_test():
"""Run Pytest with coverage."""
return {"actions": [["pytest", "--cov=imucal"]], "verbosity": 2}
return {"actions": [["pytest", "--cov=imucal", "--cov-report=xml"]], "verbosity": 2}


def task_lint():
Expand Down

0 comments on commit 9ec2355

Please sign in to comment.