Merge pull request #2671 from bska/shorten-update-title

update_data: Move List of Changed Tests to Commit Message Body
This commit is contained in:
Bård Skaflestad 2020-06-15 09:31:02 +02:00 committed by GitHub
commit 0dfcb8f411
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -167,7 +167,7 @@ copyToReferenceDir \
test $? -eq 0 && changed_tests="$changed_tests norne_init"
changed_tests=`echo $changed_tests | xargs`
echo -e "update reference data for $changed_tests\n" > /tmp/cmsg
echo -e "Automatic Reference Data Update for PR ${REASON:-(Unknown)}\n" > /tmp/cmsg
if [ -z "$REASON" ]
then
echo -e "Reason: fill in this\n" >> /tmp/cmsg
@ -184,6 +184,12 @@ do
done
echo -e "opm-simulators = `git rev-parse HEAD`" >> /tmp/cmsg
echo -e "\n### Changed Tests ###\n" >> /tmp/cmsg
for t in ${changed_tests}
do
echo " * ${t}" >> /tmp/cmsg
done
cd $OPM_TESTS_ROOT
if [ -n "$BRANCH_NAME" ]
then