From 7635eb3d7c438d1a6aca093a1fb610f0fe7b7e50 Mon Sep 17 00:00:00 2001 From: 0xdavinchee <0xdavinchee@gmail.com> Date: Thu, 21 Sep 2023 16:51:54 +0300 Subject: [PATCH] pass via env: --- .github/workflows/call.test-ethereum-contracts.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/call.test-ethereum-contracts.yml b/.github/workflows/call.test-ethereum-contracts.yml index 4d7720f9c3..c16f36276e 100644 --- a/.github/workflows/call.test-ethereum-contracts.yml +++ b/.github/workflows/call.test-ethereum-contracts.yml @@ -93,7 +93,7 @@ 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. # @@ -101,6 +101,7 @@ jobs: # 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