Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: FOUNDRY_PROFILE=optimized-build forge build

- name: Run tests
run: FOUNDRY_PROFILE=optimized-test-deep forge test -vvv
run: FOUNDRY_PROFILE=optimized-test-deep pnpm test

test-default:
name: Run Forge Tests (default)
Expand All @@ -38,4 +38,4 @@ jobs:
run: forge build

- name: Run tests
run: forge test -vvv
run: pnpm test
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,8 @@ pnpm lcov
# Generate gas snapshots
pnpm gas

# Test
# Test (deployment-script tests that mutate FOUNDRY_PROFILE run serially)
pnpm test
forge test -vvv
```

### Deployment
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
"lint:script": "solhint --max-warnings 0 -c ./config/solhint-script.json './script/**/*.sol'",
"prep": "pnpm fmt && forge b --deny-warnings && pnpm lint && pnpm test && pnpm gas",
"sizes": "FOUNDRY_PROFILE=optimized-build forge b --sizes --md | grep '^|' | grep -v -e '| 17 |' -e 'Lib'",
"test": "forge test"
"test": "forge test --no-match-path 'test/script/Deploy*.s.t.sol' && forge test --threads 1 --match-path 'test/script/Deploy*.s.t.sol'"
}
}