From 54e0fd51ed57649d3849fc40ebecfbbe8ca3969e Mon Sep 17 00:00:00 2001 From: Matias Date: Tue, 5 Nov 2024 14:46:47 -0300 Subject: [PATCH 1/2] ci: fix e2e-contracts.yml --- .github/workflows/e2e-contracts.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/e2e-contracts.yml b/.github/workflows/e2e-contracts.yml index ebb488f45..a4e03a0e1 100644 --- a/.github/workflows/e2e-contracts.yml +++ b/.github/workflows/e2e-contracts.yml @@ -30,6 +30,11 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + - name: Install Docker Compose + run: | + sudo curl -L "https://github.com/docker/compose/releases/download/$(curl -s https://api.github.com/repos/docker/compose/releases/latest | jq -r '.tag_name')/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose + sudo chmod +x /usr/local/bin/docker-compose + docker-compose --version # Confirm installation - name: Set up environment uses: ./.github/actions/setup - name: Build From abc5f5b10a89e2f697800b46ceefd1c7ddad057f Mon Sep 17 00:00:00 2001 From: Matias Date: Mon, 13 Jan 2025 17:31:29 -0300 Subject: [PATCH 2/2] ci: delete e2e-contracts.yml --- .github/workflows/e2e-contracts.yml | 54 ----------------------------- 1 file changed, 54 deletions(-) delete mode 100644 .github/workflows/e2e-contracts.yml diff --git a/.github/workflows/e2e-contracts.yml b/.github/workflows/e2e-contracts.yml deleted file mode 100644 index a4e03a0e1..000000000 --- a/.github/workflows/e2e-contracts.yml +++ /dev/null @@ -1,54 +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: Install Docker Compose - run: | - sudo curl -L "https://github.com/docker/compose/releases/download/$(curl -s https://api.github.com/repos/docker/compose/releases/latest | jq -r '.tag_name')/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose - sudo chmod +x /usr/local/bin/docker-compose - docker-compose --version # Confirm installation - - 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