Update publish.yml

This commit is contained in:
pacnpal
2024-12-10 13:24:41 -05:00
committed by GitHub
parent af517b1283
commit 7292393eec

View File

@@ -25,6 +25,14 @@ jobs:
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install build pip install build
- name: Run Pytest tests
run: |
pip install pytest pytest-cov
pytest --cov --cov-report=xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: Build package - name: Build package
run: python -m build run: python -m build