mirror of
https://github.com/Cian-H/read_aconity_layers.git
synced 2025-12-27 12:11:58 +00:00
Added coverage tests to python api
This commit is contained in:
8
.github/workflows/python-package.yaml
vendored
8
.github/workflows/python-package.yaml
vendored
@@ -43,5 +43,13 @@ jobs:
|
||||
run: |
|
||||
poetry run maturin develop
|
||||
- name: Test with pytest
|
||||
env:
|
||||
PYTEST_ADDOPTS: "--cov read_aconity_layers --cov-report=lcov"
|
||||
run: |
|
||||
poetry run pytest
|
||||
|
||||
- name: Upload coverage to Coveralls
|
||||
uses: coverallsapp/github-action@master
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
path-to-lcov: coverage.lcov
|
||||
|
||||
Reference in New Issue
Block a user