Skip to content

Commit

Permalink
chore(ci): Use gotestsum for action tests (#751)
Browse files Browse the repository at this point in the history
  • Loading branch information
clabby authored Oct 29, 2024
1 parent 24213af commit b9df8fe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/action_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ jobs:
go-version: "1.22.7"
cache-dependency-path: |
monorepo/go.sum
- name: Setup gotestsum
uses: autero1/[email protected]
with:
gotestsum_version: 1.12.0
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Run Actions Tests
Expand Down
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b9df8fe

Please sign in to comment.