Skip to content
Snippets Groups Projects

Backport CI changes

Merged Timo Koch requested to merge cherry-pick-346d4efe into releases/3.4
Files
4
+ 2
2
@@ -12,16 +12,16 @@ workflow:
variables:
TRIGGER_SOURCE: "unknown"
MR_TARGET_BRANCH_NAME: "master"
select tests:
stage: configure
image: $IMAGE_REGISTRY_URL/full:dune-2.7-gcc-ubuntu-20.04
script:
- |
if [[ "$TRIGGER_SOURCE" == "merge_request_event" ]]; then
dunecontrol --opts=$DUNE_OPTS_FILE --current all
pushd build-cmake
python3 ../bin/testing/findtests.py -f ../affectedtests.json -t origin/master
python3 ../bin/testing/findtests.py -f ../affectedtests.json -t origin/$MR_TARGET_BRANCH_NAME
popd
else
echo "Skipping test selection, build/test stages will consider all tests!"
Loading