Use poetry for coverage

This commit is contained in:
datalets 2023-04-08 10:09:53 +02:00
parent aa7687cf99
commit b4624b8500
1 changed files with 2 additions and 6 deletions

View File

@ -52,13 +52,9 @@ jobs:
- name: Install library
run: poetry install --no-interaction
- name: Run test suite
run: |
source $VENV
coverage run --source=dribdat -m pytest tests/
run: poetry run coverage run --source=dribdat -m pytest tests/
- name: Generate coverage report
run: |
source $VENV
coverage xml
run: poetry run coverage xml
- uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}