-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9dd9993
commit a3686e5
Showing
1 changed file
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: End-to-end tests | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
|
||
jobs: | ||
e2e: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
el-contracts: | ||
# Mainnet version isn't used because of compile errors | ||
- ref: v0.3.3-mainnet-rewards | ||
version: v0.3.3 | ||
# Newest testnet release | ||
- ref: slashing-magnitudes | ||
version: v1.0.3 | ||
|
||
name: End-to-end test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Install Foundry | ||
uses: foundry-rs/foundry-toolchain@v1 | ||
with: | ||
version: nightly | ||
|
||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: '1.21' | ||
|
||
- uses: ko-build/[email protected] | ||
|
||
- name: Run end-to-end test | ||
run: | | ||
export EL_REF=${{ matrix.el-contracts.ref }} | ||
export EL_VERSION=${{ matrix.el-contracts.version }} | ||
./scripts/e2e_test.sh |