onko tiedostot bats kontissa?
ci-bats Bats tests FAILED
ci-cucumber Cucumber tests passed
CI / feature (push) Failing after 1m8s
CI / main (push) Has been skipped

This commit is contained in:
moilanik
2026-06-13 07:50:34 +03:00
parent 8eeace9620
commit 6829a92c12
+4 -2
View File
@@ -38,8 +38,10 @@ jobs:
docker run --rm -v bats-workspace:/data \ docker run --rm -v bats-workspace:/data \
--entrypoint sh ${{ inputs.bats-image }} \ --entrypoint sh ${{ inputs.bats-image }} \
-c 'apk add -q lsof python3 jq && \ -c 'apk add -q lsof python3 jq && \
cd /data && \ echo "=== Volume contents ===" && \
bats tests/ ' \ ls -la /data/scripts/ && \
echo "=== Run bats ===" && \
cd /data && bats tests/ ' \
> "reports/${GITHUB_SHA:0:8}/bats/results.txt" 2>&1 > "reports/${GITHUB_SHA:0:8}/bats/results.txt" 2>&1
BATS_EXIT=$? BATS_EXIT=$?
docker volume rm bats-workspace > /dev/null 2>&1 docker volume rm bats-workspace > /dev/null 2>&1