Skip to content

Commit

Permalink
pass via env:
Browse files Browse the repository at this point in the history
  • Loading branch information
0xdavinchee committed Sep 21, 2023
1 parent 80c9748 commit 7635eb3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/call.test-ethereum-contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,15 @@ jobs:
run: |
echo "FOUNDRY_PROFILE=ci" >> $GITHUB_ENV
echo "FOUNDRY_SOLC_VERSION=$SOLC" >> $GITHUB_ENV
NODE_OPTIONS=\"$NODE_OPTIONS --max_old_space_size=4096\" yarn test-coverage
yarn test-coverage
working-directory: ./packages/ethereum-contracts
# NOTE: currently coverage report is not working properly in parallel mode.
#
# Upstream issue: https://github.com/NomicFoundation/hardhat/issues/4310
# Though more likely, it is an issue to https://github.com/sc-forks/solidity-coverage
env:
# NOTE: 4 workers would overwhelm the free-tier github runner
NODE_OPTIONS: --max_old_space_size=4096
IS_COVERAGE_TEST: true
HARDHAT_TEST_JOBS: 2
HARDHAT_RUN_PARALLEL: false
Expand Down

0 comments on commit 7635eb3

Please sign in to comment.