bats kontin kutsu muutos
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user