From 49b6f247af734871591531c9f7c9b3280010eb1c Mon Sep 17 00:00:00 2001 From: just-mitch Date: Thu, 25 Apr 2024 14:19:40 +0000 Subject: [PATCH] chore: lift run-e2e to yarn-project earthfile --- .github/workflows/ci.yml | 2 +- yarn-project/Earthfile | 7 ++++++- yarn-project/end-to-end/Earthfile | 5 ----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ce28bee2c1a..fa73e81326b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,7 +50,7 @@ jobs: # (Note ARM uses just 2 tests as a smoketest) - name: Create list of end-to-end jobs id: e2e_list - run: echo "list=$(earthly ls ./yarn-project/end-to-end | grep -v -E '(\+base)|(\+e2e-test-single)' | sed 's/+//' | jq -R . | jq -cs .)" >> $GITHUB_OUTPUT + run: echo "list=$(earthly ls ./yarn-project/end-to-end | grep -v '+base' | sed 's/+//' | jq -R . | jq -cs .)" >> $GITHUB_OUTPUT # all the end-to-end integration tests for aztec e2e: diff --git a/yarn-project/Earthfile b/yarn-project/Earthfile index c582587cd7d..0821b63f8a1 100644 --- a/yarn-project/Earthfile +++ b/yarn-project/Earthfile @@ -100,4 +100,9 @@ format-check: test: FROM +build - RUN yarn test \ No newline at end of file + RUN yarn test + +run-e2e: + ARG test + FROM +end-to-end + RUN DEBUG=aztec:* yarn test $test diff --git a/yarn-project/end-to-end/Earthfile b/yarn-project/end-to-end/Earthfile index fd46ad8905b..59403a2400c 100644 --- a/yarn-project/end-to-end/Earthfile +++ b/yarn-project/end-to-end/Earthfile @@ -86,11 +86,6 @@ e2e-tests: FROM ../+end-to-end RUN yarn test ./src/e2e -e2e-test-single: - ARG test - FROM ../+end-to-end - RUN yarn test $test - flakey-e2e-tests: FROM ../+end-to-end RUN yarn test --passWithNoTests ./src/flakey || true