Skip to content

Commit

Permalink
move tests to e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszaaa committed Oct 13, 2024
1 parent ee0b931 commit f0838c0
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 24 deletions.
24 changes: 0 additions & 24 deletions .github/workflows/reusable-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,27 +110,3 @@ jobs:

- run: helmfile lint -e fungible
- run: helmfile template -e fungible | kubeconform -kubernetes-version 1.28.0 -skip ServiceMonitor -strict

ferry-withdrawal-test:
name: Ferry withdrawal tests
runs-on: ubuntu-latest
defaults:
run:
working-directory: ferry-withdrawal
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- run: npm ci
- name: Build
run: npm run build

- name: Test L1 interface
run: npm run test-l1

- name: Test L2 interface
run: npm run test-l2

- name: Test ferry
run: npm run test-ferry
33 changes: 33 additions & 0 deletions .github/workflows/reusable-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,3 +157,36 @@ jobs:
run: docker logs rollup-eth-stub-1

- run: docker ps

ferry-withdrawal-test:
name: Ferry withdrawal tests
runs-on: ubuntu-latest
defaults:
run:
working-directory: ferry-withdrawal
steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- uses: actions/setup-node@v4
with:
node-version: 18

- run: npm ci

- name: Build
run: npm run build

- name: Build
working-directory: .
run: docker compose up --wait

- name: Test L1 interface
run: npm run test-l1

- name: Test L2 interface
run: npm run test-l2

- name: Test ferry
run: npm run test-ferry

0 comments on commit f0838c0

Please sign in to comment.