fixed: do not open a issue/PR if no tests failed
This commit is contained in:
parent
30773db877
commit
84eb1542ef
@ -45,6 +45,11 @@ done
|
|||||||
export REASON
|
export REASON
|
||||||
export BRANCH_NAME
|
export BRANCH_NAME
|
||||||
$WORKSPACE/deps/opm-simulators/tests/update_reference_data.sh $OPM_TESTS_ROOT
|
$WORKSPACE/deps/opm-simulators/tests/update_reference_data.sh $OPM_TESTS_ROOT
|
||||||
|
if test $? -eq 5
|
||||||
|
then
|
||||||
|
echo "No tests failed - no data to update. Exiting"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
# Finally open the pull request
|
# Finally open the pull request
|
||||||
cd $OPM_TESTS_ROOT
|
cd $OPM_TESTS_ROOT
|
||||||
|
Loading…
Reference in New Issue
Block a user