Parallel Code Coverage for CI

This commit is contained in:
Johannes Feldmann
2018-12-18 09:39:48 +01:00
parent 002925bc25
commit 037a9686a7
4 changed files with 24 additions and 3 deletions

View File

@@ -23,12 +23,17 @@ build:
- cd build
- qmake ../DRAMSys/DRAMSys.pro
- make -j4
- mkdir -p coverage
coverage:
stage: Coverage
coverage: '/^TOTAL.*\s+(\d+\%)$/'
script:
- gcovr -r build/
- lcov `find coverage -type f -exec echo "-a {}" \;` -o coverage/final.out
artifacts:
paths:
- coverage/final.out
include:
- '/DRAMSys/tests/DDR3/ci.yml'