Skip to content

Commit 494afe6

Browse files
committed
test: Format test output using gotestfmt
1 parent 99682d0 commit 494afe6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/e2e_tests.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@ jobs:
6868
with:
6969
go-version: v1.18
7070

71+
- name: Set up gotestfmt
72+
uses: gotesttools/gotestfmt-action@v2
73+
with:
74+
token: ${{ secrets.GITHUB_TOKEN }}
75+
7176
- name: Container image registry
7277
run: |
7378
podman run -d -p 5000:5000 --name registry registry:2.8.1
@@ -172,7 +177,8 @@ jobs:
172177
export CODEFLARE_TEST_OUTPUT_DIR=${{ env.TEMP_DIR }}
173178
echo "CODEFLARE_TEST_OUTPUT_DIR=${CODEFLARE_TEST_OUTPUT_DIR}" >> $GITHUB_ENV
174179
175-
make test-e2e
180+
set -euo pipefail
181+
go test -timeout 30m -v ./test/e2e -json 2>&1 | tee ${CODEFLARE_TEST_OUTPUT_DIR}/gotest.log | gotestfmt
176182
177183
- name: Print CodeFlare operator logs
178184
if: always() && steps.deploy.outcome == 'success'

0 commit comments

Comments
 (0)