-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from srdtrk/serdar/xxx-e2e
feat(e2e): added an e2e suite
- Loading branch information
Showing
42 changed files
with
10,756 additions
and
56 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 |
---|---|---|
@@ -1,11 +1,4 @@ | ||
export API_KEY_ALCHEMY="YOUR_API_KEY_ALCHEMY" | ||
export API_KEY_ARBISCAN="YOUR_API_KEY_ARBISCAN" | ||
export API_KEY_BSCSCAN="YOUR_API_KEY_BSCSCAN" | ||
export API_KEY_ETHERSCAN="YOUR_API_KEY_ETHERSCAN" | ||
export API_KEY_GNOSISSCAN="YOUR_API_KEY_GNOSISSCAN" | ||
export API_KEY_INFURA="YOUR_API_KEY_INFURA" | ||
export API_KEY_OPTIMISTIC_ETHERSCAN="YOUR_API_KEY_OPTIMISTIC_ETHERSCAN" | ||
export API_KEY_POLYGONSCAN="YOUR_API_KEY_POLYGONSCAN" | ||
export API_KEY_SNOWTRACE="YOUR_API_KEY_SNOWTRACE" | ||
# Mnemonic used in base script (not e2e) | ||
export MNEMONIC="YOUR_MNEMONIC" | ||
export FOUNDRY_PROFILE="default" | ||
# Private key with the permission to use the network prover | ||
SP1_PRIVATE_KEY="PRIVATE_KEY" |
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,69 @@ | ||
name: e2e | ||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
paths: | ||
- '**.rs' | ||
- '**.go' | ||
- '**.toml' | ||
- '**.lock' | ||
- '**.mod' | ||
- '**.sum' | ||
- '**.sol' | ||
- '.github/workflows/e2e.yml' | ||
env: | ||
FOUNDRY_PROFILE: ci | ||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
golangci: | ||
name: lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: "1.22" | ||
cache-dependency-path: 'e2e/interchaintestv8/go.sum' | ||
|
||
- uses: actions/checkout@v4 | ||
|
||
- name: golangci-lint | ||
uses: golangci/[email protected] | ||
with: | ||
version: v1.59 | ||
args: --timeout 5m | ||
working-directory: e2e/interchaintestv8 | ||
e2e: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
test: | ||
# List your tests here | ||
- TestWithIbcEurekaTestSuite/TestDeploy | ||
name: ${{ matrix.test }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: "1.22" | ||
check-latest: true | ||
cache-dependency-path: "e2e/interchaintestv8/go.sum" | ||
|
||
- name: "Install Bun" | ||
uses: "oven-sh/setup-bun@v2" | ||
|
||
- name: "Install the Node.js dependencies" | ||
run: bun install | ||
|
||
- name: Run Tests | ||
env: | ||
SP1_PRIVATE_KEY: ${{ secrets.SP1_PRIVATE_KEY }} | ||
run: | | ||
cd e2e/interchaintestv8 | ||
go test -v -mod=readonly . -run=${{ matrix.test }} -timeout 40m |
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
Oops, something went wrong.