From b9df8fea758701305772048a2bf21a42655e7a23 Mon Sep 17 00:00:00 2001 From: clabby Date: Tue, 29 Oct 2024 16:31:07 -0400 Subject: [PATCH] chore(ci): Use `gotestsum` for action tests (#751) --- .github/workflows/action_tests.yaml | 4 ++++ justfile | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/action_tests.yaml b/.github/workflows/action_tests.yaml index 640b7a57c..a90dd3253 100644 --- a/.github/workflows/action_tests.yaml +++ b/.github/workflows/action_tests.yaml @@ -27,6 +27,10 @@ jobs: go-version: "1.22.7" cache-dependency-path: | monorepo/go.sum + - name: Setup gotestsum + uses: autero1/action-gotestsum@v2.0.0 + with: + gotestsum_version: 1.12.0 - name: Install Foundry uses: foundry-rs/foundry-toolchain@v1 - name: Run Actions Tests diff --git a/justfile b/justfile index 03aa689de..5419c54c7 100644 --- a/justfile +++ b/justfile @@ -42,7 +42,7 @@ action-tests test_name='Test_ProgramAction' *args='': export KONA_CLIENT_PATH="{{justfile_directory()}}/target/release-client-lto/kona" cd monorepo/op-e2e/actions/proofs && \ - go test -run "{{test_name}}" {{args}} -count=1 ./... + gotestsum --format=short-verbose -- -run "{{test_name}}" {{args}} -count=1 ./... # Clean the action tests directory clean-actions: