We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e75b729 commit 85c2285Copy full SHA for 85c2285
.github/workflows/bb-flow.yml
@@ -180,6 +180,7 @@ jobs:
180
- name: "Build contracts with the specified profiles"
181
run: |
182
echo "Building with profile: test-optimized"
183
+ FOUNDRY_PROFILE="optimized" forge build
184
FOUNDRY_PROFILE=test-optimized forge build
185
186
- name: "Run the tests"
@@ -189,7 +190,7 @@ jobs:
189
190
RETRY_ATTEMPTS="${{ inputs.retry-attempts || 1 }}"
191
192
for attempt in $(seq 1 $RETRY_ATTEMPTS); do
- if forge test --match-path "$MATCH_PATH"; then
193
+ if FOUNDRY_PROFILE="test-optimized" forge test --match-path "$MATCH_PATH"; then
194
break
195
elif [ $attempt -eq $RETRY_ATTEMPTS ]; then
196
exit 1
0 commit comments