Merge pull request #1368 from akva2/fix_no_data_to_update

fixed: do not open a issue/PR if no tests failed
This commit is contained in:
Arne Morten Kvarving
2019-12-20 16:01:14 +01:00
committed by GitHub

View File

@@ -45,6 +45,11 @@ done
export REASON
export BRANCH_NAME
$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
cd $OPM_TESTS_ROOT