From 0b2d35a928e48d6f3ccd388f553490eabaf29619 Mon Sep 17 00:00:00 2001 From: Nazar Hussain Date: Thu, 11 Jan 2024 12:31:47 +0100 Subject: [PATCH] ci: disable the node debug task (#6283) * Remove downloading debug-node task * Comment the debug task --- .github/workflows/test.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 43ceee898d85..deaf19329872 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -160,8 +160,8 @@ jobs: check-latest: true cache: yarn - # Remove when finished debugging core dumps - - uses: './.github/actions/setup-debug-node' + # # Remove when finished debugging core dumps + # - uses: './.github/actions/setup-debug-node' - name: Restore build cache id: cache-primes-restore @@ -184,13 +184,14 @@ jobs: key: spec-test-data-${{ hashFiles('packages/validator/test/spec/params.ts') }} - name: Unit tests - id: unit_tests + # id: unit_tests # Rever to "yarn test:unit" when finished debugging core dumps - run: sudo sh -c "ulimit -c unlimited && /usr/bin/node-with-debug $(which yarn) test:unit" + # run: sudo sh -c "ulimit -c unlimited && /usr/bin/node-with-debug $(which yarn) test:unit" + run: yarn test:unit - # Remove when finished debugging core dumps - - uses: './.github/actions/core-dump' - if: ${{ failure() && steps.unit_tests.conclusion == 'failure' }} + # # Remove when finished debugging core dumps + # - uses: './.github/actions/core-dump' + # if: ${{ failure() && steps.unit_tests.conclusion == 'failure' }} - name: Upload coverage data run: yarn coverage