Skip to content

Commit

Permalink
Also run e2e test on top of custom fee token chain
Browse files Browse the repository at this point in the history
  • Loading branch information
gvladika committed Apr 9, 2024
1 parent e7b2a7e commit 92a7f4e
Showing 1 changed file with 35 additions and 4 deletions.
39 changes: 35 additions & 4 deletions .github/workflows/contract-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ jobs:

- name: Test 4844
run: yarn test:4844

test-e2e:
name: Test e2e
runs-on: ubuntu-latest
Expand All @@ -148,9 +147,41 @@ jobs:
with:
nitro-testnode-ref: decouple-contracts
l3-node: true
no-token-bridge: false
no-l3-token-bridge: false
nitro-contracts-branch: "${{ github.head_ref }}"
no-token-bridge: true
no-l3-token-bridge: true
nitro-contracts-branch: '${{ github.head_ref }}'

- name: Setup node/yarn
uses: actions/setup-node@v3
with:
node-version: 16
cache: 'yarn'
cache-dependency-path: '**/yarn.lock'

- name: Install packages
run: yarn

- name: Compile contracts
run: yarn build

- name: Run e2e tests
run: yarn test:e2e
test-e2e-custom-fee-token:
name: Test e2e custom fee token
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive

- uses: OffchainLabs/actions/run-nitro-test-node@customize-branches
with:
nitro-testnode-ref: decouple-contracts
l3-node: true
args: --l3-fee-token
no-token-bridge: true
no-l3-token-bridge: true
nitro-contracts-branch: '${{ github.head_ref }}'

- name: Setup node/yarn
uses: actions/setup-node@v3
Expand Down

0 comments on commit 92a7f4e

Please sign in to comment.