added codecov integration

This commit is contained in:
Pyry Lahtinen 2022-12-12 18:04:02 +00:00 committed by GitHub
parent 14f4b09927
commit df6108d411
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)