diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6f3a4b2ed009156dcaef8cd7225640533fd6a783..3854385c99b7dd7f027c0f921c1e46bb2a4aea60 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: