bats kontin kutsu muutos
CI / Load gitea-env.conf to pipeline env (push) Successful in 10s
ci-cucumber Cucumber tests
ci-bats Bats tests
CI / Quality Gate (push) Failing after 1m20s
CI / Build & Push Artifact (push) Has been skipped

This commit is contained in:
moilanik
2026-06-14 07:57:09 +03:00
parent b685f3616e
commit cee05f7987
+8 -7
View File
@@ -51,14 +51,15 @@ jobs:
run: |
set +e
mkdir -p "reports/${GITHUB_SHA:0:8}/bats"
docker run --rm \
-v "$(pwd):/repo" \
-v "$(pwd)/reports/${GITHUB_SHA:0:8}/bats:/reports" \
-w /repo \
tar cf - . | docker run --rm -i \
--entrypoint bash ${{ inputs.bats-image }} \
-c 'apk add -q lsof python3 jq curl ruby && \
bats tests/' \
2>&1 | tee "reports/${GITHUB_SHA:0:8}/bats/results.txt"
-c '
mkdir -p /repo
tar xf - -C /repo
cd /repo
apk add -q lsof python3 jq curl ruby
bats tests/
' 2>&1 | tee "reports/${GITHUB_SHA:0:8}/bats/results.txt"
BATS_EXIT=$?
bash .ci/.gitea/scripts/bats-report.sh "reports/${GITHUB_SHA:0:8}/bats" || true