Skip to content

Commit 7546fc6

Browse files
committed
Archive the GNATcoverage XML report in CI jobs
1 parent 161175d commit 7546fc6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.gitlab-ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ als-cov:linux:
100100
# save coverage results
101101
- cp -v $RESULTS_DIR/coverage-cobertura/cobertura.xml $CI_PROJECT_DIR/coverage
102102
- cp -r $RESULTS_DIR/coverage-dhtml $CI_PROJECT_DIR/coverage/dhtml
103+
- cp -r $RESULTS_DIR/coverage-xml $CI_PROJECT_DIR/coverage/xml
103104

104105
# display coverage stats for global reporting
105106
- echo_coverage_stats --coverage-file $RESULTS_DIR/coverage-xml/index.xml
@@ -124,8 +125,9 @@ als-cov:linux:
124125
path: coverage/cobertura.xml
125126
paths:
126127
- anod-logs/
127-
# Also archive the report file for debugging the CI integration
128+
# Also archive coverage reports as files for other use
128129
- coverage/cobertura.xml
130+
- coverage/xml/
129131

130132
vscode-extension:linux:
131133
after_script:

0 commit comments

Comments
 (0)