curl bats konttiin
This commit is contained in:
@@ -36,11 +36,8 @@ jobs:
|
||||
mkdir -p "reports/${GITHUB_SHA:0:8}/bats"
|
||||
set +e
|
||||
docker run --rm -v bats-workspace:/data \
|
||||
--entrypoint sh ${{ inputs.bats-image }} \
|
||||
-c 'apk add -q lsof python3 jq && \
|
||||
echo "=== Volume contents ===" && \
|
||||
ls -la /data/scripts/ && \
|
||||
echo "=== Run bats ===" && \
|
||||
--entrypoint bash ${{ inputs.bats-image }} \
|
||||
-c 'apk add -q lsof python3 jq curl && \
|
||||
cd /data && bats tests/ ' \
|
||||
> "reports/${GITHUB_SHA:0:8}/bats/results.txt" 2>&1
|
||||
BATS_EXIT=$?
|
||||
|
||||
Reference in New Issue
Block a user