fixed: do not open a issue/PR if no tests failed

This commit is contained in:
Arne Morten Kvarving 2019-12-20 12:32:59 +01:00
parent 30773db877
commit 84eb1542ef

View File

@ -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