Skip to content
Snippets Groups Projects
Commit 08ca363c authored by Laura Stengel's avatar Laura Stengel
Browse files

Split ctest jobs depending on trigger

parent f7eecdd3
No related branches found
No related tags found
1 merge request!259Resolve "Pipeline runtime"
Pipeline #133693 passed
......@@ -25,23 +25,14 @@ build-cardmech:
ctest-cardmech:
extends: .test_template
variables:
JOB_PRIORITY: 'frequently'
only:
variables: [ $TRIGGER_ORIGIN == 'mpp_pipeline' ]
dependencies:
- build-cardmech
script: # Todo why is ctest not used? Job may take max 10min to be frequently executed!!
- env
- export
- ctest --output-on-failure
# - ./test/cellmodels/TestElphyModels
# - ./test/cellmodels/TestSolvers
# - ./test/cellmodels/TestTensionModel
# - ./test/elasticity/TestMaterial
# - ./test/elasticity/TestAssembleConsistency
# - ./test/elasticity/TestLinearBeamProblem
# - ./test/elasticity/TestQuadraticBeamProblem
# - ./test/elasticity/TestPressureElasticity
script:
- ctest --output-on-failure -E TestAssembleConsistency # Exclude TestAssembleConsistency
# The following job runs only if not triggered by mpp-pipeline (only by pushes to cardmech)
ctest-only-cardmech:
extends: .test_template
variables:
......@@ -50,7 +41,7 @@ ctest-only-cardmech:
variables: [ $TRIGGER_ORIGIN != 'mpp_pipeline' && ($BENCHMARK == 'none') && ($RUN_PROJECTS == 'all') && ($JOB_PRIORITY == $PRIORITY || $JOB_PRIORITY == 'frequently') ]
dependencies:
- build-cardmech
script: # Todo why is ctest not used? Job may take max 10min to be frequently executed!!
script:
- ctest --output-on-failure
mpitest-cardmech:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment