From 659bca5b38568cbc4ec38ef13be38787e68f39ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Migone?= Date: Fri, 8 Mar 2024 16:24:23 -0300 Subject: [PATCH] chore: fix github action paths MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tomás Migone --- .github/workflows/{ci.yml => ci-contracts.yml} | 6 ++++-- .github/workflows/ci-token-dist.yml | 2 +- .github/workflows/{e2e.yml => e2e-contracts.yml} | 3 ++- 3 files changed, 7 insertions(+), 4 deletions(-) rename .github/workflows/{ci.yml => ci-contracts.yml} (86%) rename .github/workflows/{e2e.yml => e2e-contracts.yml} (95%) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci-contracts.yml similarity index 86% rename from .github/workflows/ci.yml rename to .github/workflows/ci-contracts.yml index ba93fac60..388bb8521 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci-contracts.yml @@ -1,4 +1,4 @@ -name: CI +name: CI - packages/contracts env: CI: true @@ -23,7 +23,9 @@ jobs: - name: Set up environment uses: ./.github/actions/setup - name: Run tests - run: yarn test:coverage + run: | + pushd packages/contracts + yarn test:coverage - name: Upload coverage report uses: codecov/codecov-action@v3 with: diff --git a/.github/workflows/ci-token-dist.yml b/.github/workflows/ci-token-dist.yml index 7751a4c38..76922ff9d 100644 --- a/.github/workflows/ci-token-dist.yml +++ b/.github/workflows/ci-token-dist.yml @@ -1,4 +1,4 @@ -name: CI +name: CI - packages/token-distribution env: CI: true diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e-contracts.yml similarity index 95% rename from .github/workflows/e2e.yml rename to .github/workflows/e2e-contracts.yml index 74a9523b4..46a6387ca 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e-contracts.yml @@ -1,4 +1,4 @@ -name: E2E +name: E2E - packages/contracts env: CI: true @@ -41,4 +41,5 @@ jobs: 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