diff --git a/.gitea/workflows/quality-gate.yml b/.gitea/workflows/quality-gate.yml index 6127b64..f8bd218 100644 --- a/.gitea/workflows/quality-gate.yml +++ b/.gitea/workflows/quality-gate.yml @@ -56,8 +56,9 @@ jobs: -v "$(pwd)/reports/${GITHUB_SHA:0:8}/bats:/reports" \ -w /repo \ --entrypoint bash ${{ inputs.bats-image }} \ - -c 'apk add -q lsof python3 jq curl ruby && \ - bats tests/ | tee /reports/results.txt' + -c 'apk add -q lsof python3 jq curl ruby && \ + bats tests/' \ + > "reports/${GITHUB_SHA:0:8}/bats/results.txt" 2>&1 BATS_EXIT=$? bash .ci/.gitea/scripts/bats-report.sh "reports/${GITHUB_SHA:0:8}/bats" || true echo "BATS_EXIT=${BATS_EXIT}" >> "${GITHUB_ENV}"