diff --git a/scripts/generate_code_coverage.sh b/scripts/generate_code_coverage.sh index 6b93a0f..41fcde8 100755 --- a/scripts/generate_code_coverage.sh +++ b/scripts/generate_code_coverage.sh @@ -9,7 +9,7 @@ dart pub global activate remove_from_coverage dart pub global activate coverage # Run tests and generate lcov -dart test --coverage=coverage && dart pub global run coverage:format_coverage --lcov --check-ignore --in=coverage --out=coverage/lcov.info --packages=.packages --report-on=lib +dart test --test-randomize-ordering-seed=random --coverage=coverage && dart pub global run coverage:format_coverage --lcov --check-ignore --in=coverage --out=coverage/lcov.info --packages=.packages --report-on=lib # Remove coverage report for generated files dart pub global run remove_from_coverage:remove_from_coverage -f coverage/lcov.info -r '.g.dart$'