diff --git a/.github/workflows/e2e-contracts.yml b/.github/workflows/e2e-contracts.yml deleted file mode 100644 index ebb488f45..000000000 --- a/.github/workflows/e2e-contracts.yml +++ /dev/null @@ -1,49 +0,0 @@ -name: E2E - packages/contracts - -env: - CI: true - -on: - push: - branches: "*" - paths: - - packages/contracts/contracts/** - - packages/contracts/config/** - - packages/contracts/test/e2e/** - - packages/contracts/tasks/** - - packages/contracts/scripts/** - - packages/contracts/hardhat.config.ts - pull_request: - branches: "*" - paths: - - packages/contracts/contracts/** - - packages/contracts/config/** - - packages/contracts/test/e2e/** - - packages/contracts/tasks/** - - packages/contracts/scripts/** - - packages/contracts/hardhat.config.ts - workflow_dispatch: - -jobs: - test-e2e: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Set up environment - uses: ./.github/actions/setup - - name: Build - run: | - pushd packages/contracts - yarn build || yarn build - - name: Run e2e tests - run: | - git clone https://github.com/OffchainLabs/nitro-testnode/ - pushd nitro-testnode - git checkout c47cb8c643bc8e63ff096f7f88f9152064d1532a - git submodule update --init --recursive - sed -i'' -e 's/^\(.*dev.period.*\)/# \1/' docker-compose.yaml - ./test-node.bash --init --batchposters 0 --redundantsequencers 0 --detach - popd - pushd packages/contracts - L1_NETWORK=localnitrol1 L2_NETWORK=localnitrol2 yarn test:e2e