Update .gitlab-ci.yml file
This commit is contained in:
parent
23afdc0c1f
commit
54ee2719bf
@ -39,9 +39,9 @@ build-job: # This job runs in the build stage, which runs first.
|
|||||||
unit-test-job: # This job runs in the test stage.
|
unit-test-job: # This job runs in the test stage.
|
||||||
stage: test # It only starts when the job in the build stage completes successfully.
|
stage: test # It only starts when the job in the build stage completes successfully.
|
||||||
script:
|
script:
|
||||||
|
- cd build
|
||||||
- echo "Running unit tests..."
|
- echo "Running unit tests..."
|
||||||
- ctest
|
- ctest
|
||||||
- echo "Code coverage is 90%"
|
|
||||||
|
|
||||||
lint-test-job: # This job also runs in the test stage.
|
lint-test-job: # This job also runs in the test stage.
|
||||||
stage: test # It can run at the same time as unit-test-job (in parallel).
|
stage: test # It can run at the same time as unit-test-job (in parallel).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user