Skip to content

Commit b9d5ae7

Browse files
committed
chore: reduces the number of fuzz in action
1 parent 27b7973 commit b9d5ae7

2 files changed

Lines changed: 14 additions & 3 deletions

File tree

.github/workflows/coverage.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ jobs:
4242

4343
- name: Run base branch coverage
4444
if: steps.cache-base.outputs.cache-hit != 'true'
45-
run: yarn coverage
45+
env:
46+
FOUNDRY_FUZZ_RUNS: 256
47+
run: yarn coverage --threads 1
4648

4749
- name: Prepare cached base lcov
4850
if: steps.cache-base.outputs.cache-hit != 'true'
@@ -89,8 +91,17 @@ jobs:
8991
name: base-lcov
9092
path: .
9193

94+
- name: Normalize base lcov path
95+
run: |
96+
mkdir -p .coverage-base
97+
if [ -f base-lcov.info ]; then
98+
cp base-lcov.info .coverage-base/lcov.info
99+
fi
100+
92101
- name: Run current branch coverage
93-
run: yarn coverage
102+
env:
103+
FOUNDRY_FUZZ_RUNS: 256
104+
run: yarn coverage --threads 1
94105

95106
- name: Setup LCOV
96107
uses: hrishikesh-kadam/setup-lcov@v1

test/integration/IntegrationBase.t.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ contract IntegrationBase is Test {
2020
address internal constant _ENS_REGISTRY = 0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e;
2121
address internal constant _NAME_WRAPPER = 0xD4416b13d2b3a9aBae7AcD5D6C2BbDBE25686401;
2222
address internal constant _PUBLIC_RESOLVER = 0xF29100983E058B709F3D539b0c765937B804AC15;
23-
uint256 internal constant _BATCH_RECORDS = 5;
23+
uint256 internal constant _BATCH_RECORDS = 10;
2424

2525
string internal constant _PARENT_NODE_DOMAIN = 'l2';
2626
string internal constant _SUB_DOMAIN = 'optimism';

0 commit comments

Comments
 (0)