File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ jobs:
193193 FOUNDRY_PROFILE=coverage \
194194 FOUNDRY_CACHE=true \
195195 FOUNDRY_CACHE_PATH=cache \
196- forge coverage --report lcov --report summary --no-match-coverage "script|test" -j $(nproc) -vvv
196+ forge coverage --report lcov --report summary --no-match-coverage "script|test" -j $(nproc) --no-match-test test_noCoverage
197197 genhtml -q -o report ./lcov.info
198198
199199 # Upload coverage report as artifact before potential failure
Original file line number Diff line number Diff line change @@ -4416,7 +4416,8 @@ contract AllocationManagerUnitTests_migrateSlashers is AllocationManagerUnitTest
44164416 assertEq (reads.length , 3 , "should have 3 reads " );
44174417 }
44184418
4419- function test_noop_slasherAlreadySet () public {
4419+ /// @dev This test is ignored by coverage due to an extra vm.access call
4420+ function test_noCoverage_noop_slasherAlreadySet () public {
44204421 // Register the operatorSet
44214422 OperatorSet memory operatorSet = OperatorSet (defaultAVS, 1 );
44224423 CreateSetParams[] memory createSetParams = new CreateSetParams [](1 );
@@ -4506,7 +4507,8 @@ contract AllocationManagerUnitTests_migrateSlashers is AllocationManagerUnitTest
45064507 _assertNothingPending (defaultOperatorSet);
45074508 }
45084509
4509- function test_cannotMigrateMultipleTimes () public {
4510+ /// @dev This test is ignored by coverage due to an extra vm.access call
4511+ function test_noCoverage_cannotMigrateMultipleTimes () public {
45104512 // Migrate the slasher
45114513 allocationManager.migrateSlashers (defaultOperatorSet.toArray ());
45124514 assertEq (allocationManager.getSlasher (defaultOperatorSet), defaultAVS, "slasher should be the defaultAVS " );
You can’t perform that action at this time.
0 commit comments