mirror of
https://github.com/bellingcat/auto-archiver-api.git
synced 2026-06-08 03:28:35 +03:00
adding code coverage to test execution
This commit is contained in:
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@@ -36,6 +36,10 @@ jobs:
|
||||
run: pipenv install --dev
|
||||
working-directory: src
|
||||
|
||||
- name: Run tests
|
||||
run: PYTHONPATH=. pipenv run pytest -v --color=yes tests/
|
||||
- name: Run tests with coverage
|
||||
run: PYTHONPATH=. pipenv run coverage run -m pytest -v --color=yes tests/
|
||||
working-directory: src
|
||||
|
||||
- name: Report coverage
|
||||
run: pipenv run coverage report
|
||||
working-directory: src
|
||||
Reference in New Issue
Block a user