Skip to content

Commit

Permalink
🔧 Coverage without min
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexV525 committed Jun 27, 2024
1 parent 6948a28 commit b2b5490
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions melos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,12 @@ scripts:
melos run test:flutter
test:vm:
name: Dart VM tests
exec: dart test --preset=${TEST_PRESET:-default},${TARGET_DART_SDK:-stable} --coverage=coverage/vm --chain-stack-traces
exec: |
if [ "$TARGET_DART_SDK" == "min" ]; then
dart test --preset=${TEST_PRESET:-default},${TARGET_DART_SDK:-stable} --chain-stack-traces
else
dart test --preset=${TEST_PRESET:-default},${TARGET_DART_SDK:-stable} --coverage=coverage/vm --chain-stack-traces
fi
packageFilters:
flutter: false
dirExists: test
Expand All @@ -81,7 +86,12 @@ scripts:
TEST_PLATFORM: firefox
test:web:single:
name: Dart Web tests in a browser
exec: dart test --platform ${TEST_PLATFORM} --coverage=coverage/${TEST_PLATFORM} --preset=${TEST_PRESET:-default},${TARGET_DART_SDK:-stable} --chain-stack-traces
exec: |
if [ "$TARGET_DART_SDK" == "min" ]; then
dart test --platform ${TEST_PLATFORM} --preset=${TEST_PRESET:-default},${TARGET_DART_SDK:-stable} --chain-stack-traces
else
dart test --platform ${TEST_PLATFORM} --coverage=coverage/${TEST_PLATFORM} --preset=${TEST_PRESET:-default},${TARGET_DART_SDK:-stable} --chain-stack-traces
fi
packageFilters:
flutter: false
dirExists: test
Expand Down

0 comments on commit b2b5490

Please sign in to comment.