Skip to content

Commit

Permalink
ci: disable the node debug task (#6283)
Browse files Browse the repository at this point in the history
* Remove downloading debug-node task

* Comment the debug task
  • Loading branch information
nazarhussain authored Jan 11, 2024
1 parent 2f9daba commit 0b2d35a
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 0b2d35a

Please sign in to comment.