This commit is contained in:
Jakub Miazek 2022-11-04 10:02:53 +01:00
parent 68eca7c0f6
commit 6bf264fb3e

View File

@ -43,8 +43,12 @@ jobs:
- name: Install dependencies
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: poetry install --no-interaction --no-root
- name: Run tests
run: pytest
- name: Test with Coverage
run: poetry run pytest --cov=. --cov-report=xml
- uses: actions/upload-artifact@v3
with:
name: coverage-xml
path: coverage.xml
env:
PYTHONDONTWRITEBYTECODE: 1
PYTHONUNBUFFERED: 1
@ -54,3 +58,4 @@ jobs:
POSTGRES_PASSWORD: secret
PGPASSWORD: secret