mirror of https://codeberg.org/dribdat/dribdat.git
Use poetry for coverage
This commit is contained in:
parent
aa7687cf99
commit
b4624b8500
|
@ -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 }}
|
||||
|
|
Loading…
Reference in New Issue