Commit 2ed0aa1 1 parent 2dca088 commit 2ed0aa1 Copy full SHA for 2ed0aa1
File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 63
63
# Ensures that tests run without unnecessary noise in CI logs.
64
64
- name : Run Forge tests
65
65
run : |
66
- yarn test:local 2>&1 | grep -v "Warning: \` testFail*"
66
+ ( yarn test:local 2>&1 | tee forge_test.log | grep -v "testFail* has been removed") || true
67
67
id : test
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ FOUNDRY_PROFILE=$PROFILE FOUNDRY_FUZZ_RUNS=0 forge test \
31
31
--ffi \
32
32
-j 1 \
33
33
--gas-report \
34
- --cache-path .forge-cache 2>&1 | tee test_results.log
34
+ --cache-path .forge-cache 2>&1 | tee test_results.log | grep -v ' testFail* has been removed '
35
35
36
36
# Extract failing tests
37
37
grep ' \[FAIL:' test_results.log | awk ' {print $2}' | sed ' s/:.*//' | sort -u > failed_tests.log
@@ -59,7 +59,7 @@ while [[ $attempt -le $MAX_RETRIES && $num_fails -gt 0 ]]; do
59
59
--ffi \
60
60
-j 1 \
61
61
--gas-report \
62
- --cache-path .forge-cache
62
+ --cache-path .forge-cache 2>&1 | tee test_results.log | grep -v ' testFail* has been removed '
63
63
done < failed_tests.log
64
64
65
65
# Check if any tests still fail
You can’t perform that action at this time.
0 commit comments