mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-11-19 05:19:42 -05:00
adds instructions to get coverage (#299)
Co-authored-by: Markos Gogoulos <markos@orfium.com>
This commit is contained in:
5
.github/workflows/python.yml
vendored
5
.github/workflows/python.yml
vendored
@@ -29,7 +29,10 @@ jobs:
|
||||
shell: bash
|
||||
|
||||
- name: Run Django Tests
|
||||
run: docker-compose -f docker-compose-dev.yaml exec --env TESTING=True -T web pytest
|
||||
run: docker-compose -f docker-compose-dev.yaml exec --env TESTING=True -T web pytest
|
||||
|
||||
# Run with coverage, saves report on htmlcov dir
|
||||
# run: docker-compose -f docker-compose-dev.yaml exec --env TESTING=True -T web pytest --cov --cov-report=html --cov-config=.coveragerc
|
||||
|
||||
- name: Tear down the Stack
|
||||
run: docker-compose -f docker-compose-dev.yaml down
|
||||
|
||||
Reference in New Issue
Block a user