Skip to content

Commit 4c55356

Browse files
committed
Persist coverage reports to host
1 parent d799120 commit 4c55356

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/stage-2-test.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444
run: |
4545
cp .env.example .env
4646
make test-unit
47+
ls -lah
4748
- name: "Save the result of fast test suite"
4849
run: |
4950
docker cp lung_cancer_screening-web:/tmp/coverage.xml ./coverage.xml

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ lung_cancer_screening/assets/compiled/*
2222
tests/TEST-*.xml
2323
node_modules
2424
.coverage
25+
coverage.xml

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ omit = [
4343
"*/tests/*",
4444
"manage.py"
4545
]
46-
data_file = "/tmp/.coverage"
46+
data_file = ".coverage"
4747

4848
[tool.coverage.xml]
49-
output = "/tmp/coverage.xml"
49+
output = "coverage.xml"

0 commit comments

Comments
 (0)