Skip to content
Snippets Groups Projects
Commit 7225c220 authored by Fadi Imani's avatar Fadi Imani
Browse files

big project

parent ea41066d
Branches
No related tags found
No related merge requests found
Pipeline #40305 failed
......@@ -8,7 +8,7 @@ before_script:
stages:
- build
- test
# - coverage
- coverage
# Define the job for building the project
build:
......@@ -39,36 +39,27 @@ test:
- ls -l
- ls -l bin
- ./bin/ExampleTests
- ls -l
- cd CMakeFiles/ExampleTests.dir/
- ls -l
- lcov -d . -c -o coverage.info
- lcov -r coverage.info */build/* */tests/* */c++/* -o coverageFiltered.info
- lcov --list coverageFiltered.info
coverage: '/Total:\|\s*([0-9.]+%)\s.*$/'
# - ls -l
# - cd CMakeFiles/ExampleTests.dir/
# - ls -l
# - lcov -d . -c -o coverage.info
# - lcov -r coverage.info */build/* */tests/* */c++/* -o coverageFiltered.info
# - lcov --list coverageFiltered.info
# - ls -l
# - pwd
# coverage: '/Total:\|\s*([0-9.]+%)\s.*$/'
# artifacts:
# paths:
# - ./build/CMakeFiles/ExampleTests.dir/coverageFiltered.info
# when: always
#coverage:
# stage: coverage
# script:
# - cd ./build/CMakeFiles/ExampleTests.dir/
# - ls -l
# - lcov -d . -c -o coverage.info
# - lcov -r coverage.info */build/* */tests/* */c++/* -o coverageFiltered.info
# - lcov --list coverageFiltered.info
# coverage: '/Total:\|\s*([0-9.]+%)\s.*$/'
coverage:
stage: coverage
script:
- cd build
- ./bin/ExampleTests
- ls -l
- cd CMakeFiles/ExampleTests.dir/
- ls -l
- lcov -d . -c -o coverage.info
- lcov -r coverage.info */build/* */tests/* */c++/* -o coverageFiltered.info
- lcov --list coverageFiltered.info
coverage: '/Total:\|\s*([0-9.]+%)\s.*$/'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment