Skip to content

Commit

Permalink
Add codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Collins committed Apr 7, 2020
1 parent fa9041a commit a9d7c67
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,12 @@ jobs:
run: poetry run black . --check

- name: Test with pytest
run: poetry run pytest --cov-report term-missing --cov=labthings ./tests
run: poetry run pytest --cov-report --cov-report=xml term-missing --cov=labthings ./tests

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
file: ./coverage.xml
flags: unittests
name: codecov-umbrella
fail_ci_if_error: true

0 comments on commit a9d7c67

Please sign in to comment.