Skip to content

Commit

Permalink
[eas-cli] Fix random test failures (#1834)
Browse files Browse the repository at this point in the history
* increase max-old-space-size

* limit number of workers
  • Loading branch information
wkozyra95 authored May 11, 2023
1 parent e154f19 commit 267fa0e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,14 @@ jobs:
- run: yarn typecheck
- run: yarn test
if: ${{ !matrix.coverage }}
env:
NODE_OPTIONS: --max-old-space-size=8192
- run: yarn test --coverage
if: ${{ matrix.coverage }}
env:
# Oclif seems to cause OOM errors when testing with coverage enabled.
# Remove this whenever we solved those OOM errors.
NODE_OPTIONS: --max-old-space-size=4096
NODE_OPTIONS: --max-old-space-size=8192
- run: yarn lint --max-warnings=0
- run: yarn install --frozen-lockfile --check-files
working-directory: ./scripts
Expand Down

0 comments on commit 267fa0e

Please sign in to comment.