Skip to content
Closed
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
48 changes: 48 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: E2E Integration Tests

# Runs on every PR as a non-blocking check.

on:
pull_request:

jobs:
e2e:
name: Integration / E2E Tests
runs-on: self-hosted
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1

- name: Install Dependencies
run: pnpm install

- name: Build contracts
run: pnpm build:contracts:evm

- name: E2E tests
env:
FORK_URL: ${{ secrets.FORK_URL }}
run: pnpm run test:integrationCI
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"test": "jest",
"test:watch": "jest --watch",
"test:integration": "jest -c jest.integration.config.js",
"test:integrationCI": "jest -c jest.integration.config.js --maxWorkers=1",
"changelog:generate": "changelog generate -a",
"qa:fix": "pnpm build && pnpm format && pnpm lint && pnpm lint:types && pnpm test"
},
Expand Down
Loading