Skip to content

Commit

Permalink
fix: CI failed to run the op e2e tests (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
lesterli authored Oct 15, 2024
1 parent 2382cd3 commit f94ff9c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ jobs:
uses: actions/setup-go@v4
with:
go-version: '1.22'
- name: Set up the devnet data
run: make op-e2e-devnet
- name: Run e2e OP tests
run: make test-e2e-op

Expand Down
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,11 @@ test-e2e-bcd: clean-e2e install-babylond install-bcd
test-e2e-wasmd: clean-e2e install-babylond install-wasmd
@go test -mod=readonly -timeout=25m -v $(PACKAGES_E2E) -count=1 --tags=e2e_wasmd

FILTER ?= .
test-e2e-op: clean-e2e install-babylond
@go test -mod=readonly -timeout=25m -v $(PACKAGES_E2E_OP) -count=1 --tags=e2e_op

FILTER ?= .
test-e2e-op-filter: clean-e2e install-babylond
@go test -mod=readonly -timeout=25m -v $(PACKAGES_E2E_OP) -count=1 --tags=e2e_op --run ^$(FILTER)$

test-e2e-op-ci: clean-e2e install-babylond
Expand Down
5 changes: 4 additions & 1 deletion itest/opstackl2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ Then run the following command to start the e2e tests:
```bash
$ make test-e2e-op

# Run all tests
$ make test-e2e-op

# Filter specific test
$ make test-e2e-op FILTER=TestFinalityGadget
$ make test-e2e-op-filter FILTER=TestFinalityGadget
```

0 comments on commit f94ff9c

Please sign in to comment.