Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: CI failed to run the op e2e tests #85

Merged
merged 4 commits into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)$
Comment on lines 115 to 120
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea on having FILTER for testing certain case 👍


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
```
Loading