add tests v1 and tests v2

This commit is contained in:
nessar committed 2022-02-11 17:23:05 +01:00
1 parent a40d30e095
commit 467e0274d6
2 files changed
+48 -38

No files matched your search

+13 -3
View File
@@ -17,12 +17,22 @@ build-job: # This job runs in the build stage, which runs first.
paths:
- build/
make-test: # This job runs in the test stage.
test-v1-job: # This job runs in the test stage.
allow_failure: false
tags:
- shell
stage: test # It only starts when the job in the build stage completes successfully.
script:
- cd build
- echo "Running tests..."
- make test
- echo "Running tests V1..."
- ctest -R v1
test-v2-job: # This job runs in the test stage.
allow_failure: false
tags:
- shell
stage: test # It only starts when the job in the build stage completes successfully.
script:
- cd build
- echo "Running tests V2..."
- ctest -R v2