added codecov integration
This commit is contained in:
parent
14f4b09927
commit
df6108d411
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
@ -21,4 +21,8 @@ jobs:
|
||||
- name: Init environment
|
||||
run: poetry install
|
||||
- name: Unit tests
|
||||
run: poetry run pytest tests
|
||||
run: poetry run coverage run --branch -m pytest tests
|
||||
- name: Write coverage report
|
||||
run: poetry run coverage xml
|
||||
- name: Send coverage to Codecov
|
||||
run: bash <(curl -s https://codecov.io/bash)
|
||||
|
Loading…
x
Reference in New Issue
Block a user