raportointi muutoksia
CI Feature / Load example-gitea-env.conf to pipeline env (push) Successful in 16s
unit-tests Bats test report
CI Feature / Bats tests (push) Successful in 1m15s
acc-tests Cucumber test report
CI Feature / Cucumber tests (push) Successful in 1m18s
CI Feature / Report Summary (push) Successful in 3s

This commit is contained in:
moilanik
2026-06-28 09:22:30 +03:00
parent ae2be1ca35
commit beef556556
3 changed files with 19 additions and 6 deletions
+6
View File
@@ -19,6 +19,12 @@ PAGES_USER="${GIT_PAGES_PUBLISH_USER:-publish}"
[ -d "$SUITE" ] || { echo "ERROR: not a directory: $SUITE" >&2; exit 1; }
EMPTY=1
for _f in "$SUITE"/* "$SUITE"/.*; do
[ -e "$_f" ] && { EMPTY=0; break; }
done
[ "$EMPTY" -eq 0 ] || { echo "ERROR: no files to publish in $SUITE" >&2; exit 1; }
WORK=$(mktemp -d)
TAR=$(mktemp)
trap 'rm -rf "$WORK" "$TAR"' EXIT