Skip to content

Commit 5f505a3

Browse files
committed
Add basic coverage reporting to unit tests
1 parent 9089cf5 commit 5f505a3

File tree

5 files changed

+129
-16
lines changed

5 files changed

+129
-16
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ jobs:
4646
make test-unit
4747
- name: "Save the result of fast test suite"
4848
run: |
49-
echo "Nothing to save"
49+
docker cp lung_cancer_screening-web-1:/tmp/coverage.xml ./coverage.xml
50+
51+
5052
test-lint:
5153
name: "Linting"
5254
runs-on: ubuntu-latest

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,4 @@ lung_cancer_screening/assets/compiled/*
2020
.venv
2121
.devcontainer/ca.crt
2222
tests/TEST-*.xml
23+
.coverage

0 commit comments

Comments
 (0)