Commit 5452cee2 authored by Antoine Berchet's avatar Antoine Berchet
Browse files

Debug coverage

parent be902e7d
...@@ -139,7 +139,7 @@ improved_coverage: ...@@ -139,7 +139,7 @@ improved_coverage:
- echo AAAAAAAAAA - echo AAAAAAAAAA
- ls -R - ls -R
- echo AAAAAAAAAA - echo AAAAAAAAAA
- python3 -m coverage combine coverage_raw/.coverage_* - python3 -m coverage combine coverage_raw/
- coverage html -d reports/coverage - coverage html -d reports/coverage
- coverage xml -o reports/coverage.xml - coverage xml -o reports/coverage.xml
after_script: after_script:
...@@ -187,7 +187,7 @@ article: ...@@ -187,7 +187,7 @@ article:
- percent_coverage=`cat coverage/.current_coverage` - percent_coverage=`cat coverage/.current_coverage`
- tot_coverage=`calc ${percent_coverage}*100` - tot_coverage=`calc ${percent_coverage}*100`
- echo 'TOTAL COVERAGE:'" ${tot_coverage}%" - echo 'TOTAL COVERAGE:'" ${tot_coverage}%"
- mv coverage_raw/.coverage coverage_raw/.coverage_article - mv coverage_raw/.coverage coverage_raw/.coverage.article
coverage: '/^TOTAL COVERAGE: ([0-9\.]+\%)$/' coverage: '/^TOTAL COVERAGE: ([0-9\.]+\%)$/'
artifacts: artifacts:
when: always when: always
...@@ -218,7 +218,7 @@ article_uncertainties: ...@@ -218,7 +218,7 @@ article_uncertainties:
- percent_coverage=`cat coverage/.current_coverage` - percent_coverage=`cat coverage/.current_coverage`
- tot_coverage=`calc ${percent_coverage}*100` - tot_coverage=`calc ${percent_coverage}*100`
- echo 'TOTAL COVERAGE:'" ${tot_coverage}%" - echo 'TOTAL COVERAGE:'" ${tot_coverage}%"
- mv coverage_raw/.coverage coverage_raw/.coverage_article_uncertainties - mv coverage_raw/.coverage coverage_raw/.coverage.article_uncertainties
coverage: '/^TOTAL COVERAGE: ([0-9\.]+\%)$/' coverage: '/^TOTAL COVERAGE: ([0-9\.]+\%)$/'
artifacts: artifacts:
when: always when: always
...@@ -250,7 +250,7 @@ tests_dummy: ...@@ -250,7 +250,7 @@ tests_dummy:
- percent_coverage=`cat coverage/.current_coverage` - percent_coverage=`cat coverage/.current_coverage`
- tot_coverage=`calc ${percent_coverage}*100` - tot_coverage=`calc ${percent_coverage}*100`
- echo 'TOTAL COVERAGE:'" ${tot_coverage}%" - echo 'TOTAL COVERAGE:'" ${tot_coverage}%"
- mv coverage_raw/.coverage coverage_raw/.coverage_dummy - mv coverage_raw/.coverage coverage_raw/.coverage.dummy
coverage: '/^TOTAL COVERAGE: ([0-9\.]+\%)$/' coverage: '/^TOTAL COVERAGE: ([0-9\.]+\%)$/'
artifacts: artifacts:
when: always when: always
...@@ -286,7 +286,7 @@ tests_chimere: ...@@ -286,7 +286,7 @@ tests_chimere:
- percent_coverage=`cat coverage/.current_coverage` - percent_coverage=`cat coverage/.current_coverage`
- tot_coverage=`calc ${percent_coverage}*100` - tot_coverage=`calc ${percent_coverage}*100`
- echo 'TOTAL COVERAGE:'" ${tot_coverage}%" - echo 'TOTAL COVERAGE:'" ${tot_coverage}%"
- mv coverage_raw/.coverage coverage_raw/.coverage_chimere - mv coverage_raw/.coverage coverage_raw/.coverage.chimere
coverage: '/^TOTAL COVERAGE: ([0-9\.]+\%)$/' coverage: '/^TOTAL COVERAGE: ([0-9\.]+\%)$/'
artifacts: artifacts:
when: always when: always
...@@ -320,7 +320,7 @@ tests_flexpart: ...@@ -320,7 +320,7 @@ tests_flexpart:
- percent_coverage=`cat coverage/.current_coverage` - percent_coverage=`cat coverage/.current_coverage`
- tot_coverage=`calc ${percent_coverage}*100` - tot_coverage=`calc ${percent_coverage}*100`
- echo 'TOTAL COVERAGE:'" ${tot_coverage}%" - echo 'TOTAL COVERAGE:'" ${tot_coverage}%"
- mv coverage_raw/.coverage coverage_raw/.coverage_flexpart - mv coverage_raw/.coverage coverage_raw/.coverage.flexpart
coverage: '/^TOTAL COVERAGE: ([0-9\.]+\%)$/' coverage: '/^TOTAL COVERAGE: ([0-9\.]+\%)$/'
artifacts: artifacts:
when: always when: always
...@@ -354,7 +354,7 @@ tests_tm5: ...@@ -354,7 +354,7 @@ tests_tm5:
- percent_coverage=`cat coverage/.current_coverage` - percent_coverage=`cat coverage/.current_coverage`
- tot_coverage=`calc ${percent_coverage}*100` - tot_coverage=`calc ${percent_coverage}*100`
- echo 'TOTAL COVERAGE:'" ${tot_coverage}%" - echo 'TOTAL COVERAGE:'" ${tot_coverage}%"
- mv coverage_raw/.coverage coverage_raw/.coverage_tm5 - mv coverage_raw/.coverage coverage_raw/.coverage.tm5
coverage: '/^TOTAL COVERAGE: ([0-9\.]+\%)$/' coverage: '/^TOTAL COVERAGE: ([0-9\.]+\%)$/'
artifacts: artifacts:
when: always when: always
......
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