Commit 76e68271 authored by Antoine Berchet's avatar Antoine Berchet
Browse files

Debug coverage

parent 4afe0c9d
......@@ -137,9 +137,9 @@ improved_coverage:
- pip install coverage
script:
- echo AAAAAAAAAA
- ls -R
- ls -R coverage_raw/
- echo AAAAAAAAAA
- python3 -m coverage combine coverage_raw/
- python3 -m coverage combine coverage_raw/.coverage*
- coverage html -d reports/coverage
- coverage xml -o reports/coverage.xml
after_script:
......@@ -187,7 +187,7 @@ article:
- percent_coverage=`cat coverage/.current_coverage`
- tot_coverage=`calc ${percent_coverage}*100`
- echo 'TOTAL COVERAGE:'" ${tot_coverage}%"
- mv coverage_raw/.coverage coverage_raw/.coverage.article
- mv coverage_raw/coverage/.coverage coverage_raw/.coverage.article
coverage: '/^TOTAL COVERAGE: ([0-9\.]+\%)$/'
artifacts:
when: always
......@@ -195,7 +195,7 @@ article:
- reports/pytest*.html
- reports/coverage/
- coverage/.current_coverage
- coverage_raw/
- coverage_raw
- examples_artifact
- figures_artifact
only:
......@@ -218,7 +218,7 @@ article_uncertainties:
- percent_coverage=`cat coverage/.current_coverage`
- tot_coverage=`calc ${percent_coverage}*100`
- echo 'TOTAL COVERAGE:'" ${tot_coverage}%"
- mv coverage_raw/.coverage coverage_raw/.coverage.article_uncertainties
- mv coverage_raw/coverage/.coverage coverage_raw/.coverage.article_uncertainties
coverage: '/^TOTAL COVERAGE: ([0-9\.]+\%)$/'
artifacts:
when: always
......@@ -226,7 +226,7 @@ article_uncertainties:
- reports/pytest*.html
- reports/coverage/
- coverage/.current_coverage
- coverage_raw/
- coverage_raw
- examples_artifact
- figures_artifact
only:
......@@ -250,7 +250,7 @@ tests_dummy:
- percent_coverage=`cat coverage/.current_coverage`
- tot_coverage=`calc ${percent_coverage}*100`
- echo 'TOTAL COVERAGE:'" ${tot_coverage}%"
- mv coverage_raw/.coverage coverage_raw/.coverage.dummy
- mv coverage_raw/coverage/.coverage coverage_raw/.coverage.dummy
coverage: '/^TOTAL COVERAGE: ([0-9\.]+\%)$/'
artifacts:
when: always
......@@ -258,7 +258,7 @@ tests_dummy:
- reports/pytest*.html
- reports/coverage/
- coverage/.current_coverage
- coverage_raw/
- coverage_raw
- examples_artifact
# Run the tests for chimere (include downloading data)
......@@ -286,7 +286,7 @@ tests_chimere:
- percent_coverage=`cat coverage/.current_coverage`
- tot_coverage=`calc ${percent_coverage}*100`
- echo 'TOTAL COVERAGE:'" ${tot_coverage}%"
- mv coverage_raw/.coverage coverage_raw/.coverage.chimere
- mv coverage_raw/coverage/.coverage coverage_raw/.coverage.chimere
coverage: '/^TOTAL COVERAGE: ([0-9\.]+\%)$/'
artifacts:
when: always
......@@ -294,7 +294,7 @@ tests_chimere:
- reports/pytest*.html
- reports/coverage/
- coverage/.current_coverage
- coverage_raw/
- coverage_raw
- examples_artifact
# Run the tests for flexpart (include downloading data)
......@@ -320,7 +320,7 @@ tests_flexpart:
- percent_coverage=`cat coverage/.current_coverage`
- tot_coverage=`calc ${percent_coverage}*100`
- echo 'TOTAL COVERAGE:'" ${tot_coverage}%"
- mv coverage_raw/.coverage coverage_raw/.coverage.flexpart
- mv coverage_raw/coverage/.coverage coverage_raw/.coverage.flexpart
coverage: '/^TOTAL COVERAGE: ([0-9\.]+\%)$/'
artifacts:
when: always
......@@ -328,7 +328,7 @@ tests_flexpart:
- reports/pytest*.html
- reports/coverage/
- coverage/.current_coverage
- coverage_raw/
- coverage_raw
- examples_artifact
# Run the tests for flexpart (include downloading data)
......@@ -354,7 +354,7 @@ tests_tm5:
- percent_coverage=`cat coverage/.current_coverage`
- tot_coverage=`calc ${percent_coverage}*100`
- echo 'TOTAL COVERAGE:'" ${tot_coverage}%"
- mv coverage_raw/.coverage coverage_raw/.coverage.tm5
- mv coverage_raw/coverage/.coverage coverage_raw/.coverage.tm5
coverage: '/^TOTAL COVERAGE: ([0-9\.]+\%)$/'
artifacts:
when: always
......@@ -362,7 +362,7 @@ tests_tm5:
- reports/pytest*.html
- reports/coverage/
- coverage/.current_coverage
- coverage_raw/
- coverage_raw
- examples_artifact
#
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment