ci: add coverage tracking and badges
This commit is contained in:
parent
ad45cc3e28
commit
aace418a85
4 changed files with 15 additions and 2 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
|
@ -16,6 +16,10 @@ jobs:
|
|||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- run: pip install -e .[dev]
|
||||
- run: pytest
|
||||
- run: pytest --cov=savdoh --cov-report=xml
|
||||
- uses: codecov/codecov-action@v4
|
||||
if: matrix.python-version == '3.12'
|
||||
with:
|
||||
files: ./coverage.xml
|
||||
- run: python -m build
|
||||
- run: python -m twine check dist/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue