From b419286d41ce3553b5d273c86b28eb7952072ece Mon Sep 17 00:00:00 2001 From: Misha Kolesnik Date: Mon, 30 Oct 2023 12:25:56 +0200 Subject: [PATCH 1/2] CI: e2e tests job fix MGX-785 (#630) MGX-785 --- .github/workflows/reusable-e2e-tests.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/reusable-e2e-tests.yml b/.github/workflows/reusable-e2e-tests.yml index 8385af1091..0a3ee1a0a0 100644 --- a/.github/workflows/reusable-e2e-tests.yml +++ b/.github/workflows/reusable-e2e-tests.yml @@ -174,9 +174,7 @@ jobs: - uses: actions/setup-node@v3 with: - node-version: '18.16.1' - cache: 'yarn' - cache-dependency-path: '**/yarn.lock' + node-version: '18.18.2' - name: Replace parachain docker image reference in config working-directory: devops/parachain-launch @@ -184,7 +182,7 @@ jobs: - name: Install e2e tests dependencies working-directory: e2eTests - run: yarn cache clean; yarn + run: yarn install - name: Install @mangata-finance/types deps run: | @@ -210,6 +208,8 @@ jobs: - name: Run tests working-directory: e2eTests run: ${{ matrix.command }} + env: + NODE_OPTIONS: --max_old_space_size=12288 - name: Test Report uses: dorny/test-reporter@v1.7.0 From 9bb564d63923368effbbb7b6892d0979e5ca62f5 Mon Sep 17 00:00:00 2001 From: goncer Date: Mon, 30 Oct 2023 11:38:35 +0100 Subject: [PATCH 2/2] fix reporting file changes because of bumping deps (#634) Co-authored-by: Misha Kolesnik --- .github/workflows/reusable-e2e-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/reusable-e2e-tests.yml b/.github/workflows/reusable-e2e-tests.yml index 0a3ee1a0a0..9d28f9392e 100644 --- a/.github/workflows/reusable-e2e-tests.yml +++ b/.github/workflows/reusable-e2e-tests.yml @@ -217,7 +217,7 @@ jobs: if: success() || failure() # run this step even if previous step failed with: name: E2E report ${{ matrix.command }} # Name of the check run which will be created - path: e2eTests/reports/junit-*.xml # Path to test results + path: e2eTests/reports/*.xml # Path to test results reporter: jest-junit # Format of test results - name: Submit results to the testmo-run