diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml index 7a9e306..f9ce855 100644 --- a/.github/workflows/coverage.yaml +++ b/.github/workflows/coverage.yaml @@ -27,9 +27,8 @@ jobs: - name: Run tests run: | - flutter test --coverage --reporter github - # Ensure coverage for all files - lcov --list coverage/lcov.info # To verify before editing lcov + flutter test --coverage + lcov --list coverage/lcov.info if [ -f coverage/lcov.info ]; then lcov --add-tracefile coverage/lcov.info --output-file coverage/lcov.info lcov --remove coverage/lcov.info 'test/*' --output-file coverage/lcov.info