Skip to content

Commit 518c97b

Browse files
committed
CI: Add the report back into artifacts
1 parent 0dd4384 commit 518c97b

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

.gitlab-ci.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,11 @@ pytest:
2929
- pip install --ignore-installed PyYAML
3030
- pip install -e .
3131
script:
32-
- python -m pytest -v --durations=0 --cov-report term --cov=eoreader ci/on_push --log-cli-level DEBUG
32+
- python -m pytest -v --durations=0 --cov-report term -cov-report html:${CI_PROJECT_DIR}/cov_s3.html --cov=eoreader ci/on_push --log-cli-level DEBUG
3333
coverage: '/TOTAL\s+\d+\s+\d+\s+(\d+%)/'
34+
artifacts:
35+
paths:
36+
- ${CI_PROJECT_DIR}/cov_s3.html
3437
tags:
3538
- sertit
3639
- linux
@@ -59,8 +62,11 @@ pytest_s3:
5962
- pip install --ignore-installed PyYAML
6063
- pip install -e .
6164
script:
62-
- python -m pytest -v --durations=0 --cov-report term --cov=eoreader ci/on_push --log-cli-level DEBUG --capture=tee-sys
65+
- python -m pytest -v --durations=0 --cov-report term -cov-report html:${CI_PROJECT_DIR}/cov_s3.html --cov=eoreader ci/on_push --log-cli-level DEBUG --capture=tee-sys
6366
coverage: '/TOTAL\s+\d+\s+\d+\s+(\d+%)/'
67+
artifacts:
68+
paths:
69+
- ${CI_PROJECT_DIR}/cov_s3.html
6470
tags:
6571
- sertit
6672
- linux

CHANGES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
- OPTIM: Use raw band path over default band path to speed up the computation of image information (extent, footprint, CRS, transform) of SAR ortho products
3131
- OPTIM: Allow predictor = 3 with LZW compression when saving SAR intermediate data as SNAP handles it properly now. [#173](https://github.com/sertit/eoreader/issues/173)
3232
- CI: Filter some warnings in pytest
33-
- CI: Add some exception to coverage
33+
- CI: Add some exception to coverage and add the report back into artifacts
3434
- DEPS: Test on SNAP 12 and 13 [#213](https://github.com/sertit/eoreader/issues/213)
3535
- DEPS: Drop support for Python 3.9 [#175](https://github.com/sertit/eoreader/issues/175)
3636
- DOC: Add a CITATION file [#262](https://github.com/sertit/eoreader/issues/262)

0 commit comments

Comments
 (0)