ci: Rename travis_fold to ci_fold and add GHA support

This commit is contained in:
James McCoy
2020-11-13 12:45:39 -05:00
parent eb96bec4bb
commit 25a8385cd1
2 changed files with 31 additions and 14 deletions

View File

@@ -66,7 +66,7 @@ main() {(
fi
fi
if test "$FAILED" = 1 ; then
travis_fold start "$NVIM_TEST_CURRENT_SUITE/$test_name"
ci_fold start "$NVIM_TEST_CURRENT_SUITE/$test_name"
fi
valgrind_check .
if test -n "$LOG_DIR" ; then
@@ -78,7 +78,7 @@ main() {(
fi
rm -f "$tlog"
if test "$FAILED" = 1 ; then
travis_fold end "$NVIM_TEST_CURRENT_SUITE/$test_name"
ci_fold end "$NVIM_TEST_CURRENT_SUITE/$test_name"
fi
if test "$FAILED" = 1 ; then
echo "Test $test_name failed, see output above and summary for more details" >> test.log