ci: add coverage tracking and badges

This commit is contained in:
ImSavsis 2026-07-19 20:45:54 +05:00
parent ad45cc3e28
commit aace418a85
4 changed files with 15 additions and 2 deletions

View file

@ -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/*