Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dumux-repositories
dumux
Commits
65f3548b
Commit
65f3548b
authored
May 20, 2021
by
Dennis Gläser
Browse files
[ci] decide build/test job based on selection job result
parent
4b2b969c
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci/default.yml
View file @
65f3548b
...
...
@@ -27,7 +27,7 @@ select tests:
else
echo "Received '$TRIGGER_SOURCE' as pipeline trigger event"
echo "Skipping test selection, build/test stages will consider all tests!"
echo "{}" >> ../
affectedtests.json
touch
affectedtests.json
fi
artifacts
:
paths
:
...
...
@@ -40,8 +40,8 @@ build dumux:
script
:
-
|
pushd build-cmake
make clean && make
if [
[ "$TRIGGER_SOURCE" == "merge_request_event" ]
]; then
make clean && make
all
if [
-s ../affectedtests.json
]; then
python3 ../bin/testing/runselectedtests.py -c ../affectedtests.json -b
else
python3 ../bin/testing/runselectedtests.py --all -b
...
...
@@ -64,7 +64,7 @@ test dumux:
script
:
-
|
pushd build-cmake
if [
[ "$TRIGGER_SOURCE" == "merge_request_event" ]
]; then
if [
-s ../affectedtests.json
]; then
python3 ../bin/testing/runselectedtests.py -c ../affectedtests.json -t
else
python3 ../bin/testing/runselectedtests.py --all -t
...
...
Dennis Gläser
@DennisGlaeser
mentioned in commit
bffd84f3
·
Jun 02, 2021
mentioned in commit
bffd84f3
mentioned in commit bffd84f3e6ec5ada85159c7e22c9ac6906e7c60b
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment