Skip to content

Commit 85c2285

Browse files
committed
test bb ci 6
1 parent e75b729 commit 85c2285

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/bb-flow.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ jobs:
180180
- name: "Build contracts with the specified profiles"
181181
run: |
182182
echo "Building with profile: test-optimized"
183+
FOUNDRY_PROFILE="optimized" forge build
183184
FOUNDRY_PROFILE=test-optimized forge build
184185
185186
- name: "Run the tests"
@@ -189,7 +190,7 @@ jobs:
189190
RETRY_ATTEMPTS="${{ inputs.retry-attempts || 1 }}"
190191
191192
for attempt in $(seq 1 $RETRY_ATTEMPTS); do
192-
if forge test --match-path "$MATCH_PATH"; then
193+
if FOUNDRY_PROFILE="test-optimized" forge test --match-path "$MATCH_PATH"; then
193194
break
194195
elif [ $attempt -eq $RETRY_ATTEMPTS ]; then
195196
exit 1

0 commit comments

Comments
 (0)