We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e5c998 commit 98c9dafCopy full SHA for 98c9daf
tests/test.bats
@@ -58,7 +58,7 @@ teardown() {
58
# Persist TESTDIR if running inside GitHub Actions. Useful for uploading test result artifacts
59
# See example at https://github.com/ddev/github-action-add-on-test#preserving-artifacts
60
if [ -n "${GITHUB_ENV:-}" ]; then
61
- echo "TESTDIR=${TESTDIR}" >> "${GITHUB_ENV}"
+ [ -e "${GITHUB_ENV:-}" ] && echo "TESTDIR=${HOME}/tmp/${PROJNAME}" >> "${GITHUB_ENV}"
62
else
63
[ "${TESTDIR}" != "" ] && rm -rf "${TESTDIR}"
64
fi
0 commit comments