From 6ee7dd048b64ec3756acd5012c911b17c469cd53 Mon Sep 17 00:00:00 2001 From: Roland Geider Date: Tue, 1 Apr 2025 21:22:02 +0200 Subject: [PATCH] Write result to coverage/lcov.info --- .github/workflows/ci.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9423e1a4..b5742187 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,18 +25,17 @@ jobs: - run: dart --version - run: flutter --version - - name: Install sqlite3-dev - run: sudo apt install libsqlite3-dev lcov - - - name: Install app dependencies - run: flutter pub get + - name: Install dependencies + run: | + sudo apt install libsqlite3-dev lcov + flutter pub get # Removing some folders from the coverage since these files are not really # part of the app code and just get in the way of the report - name: Test app run: | flutter test --coverage - lcov --remove coverage/lcov.info 'lib/l10n/generated/*' 'lib/theme/*' + lcov --remove coverage/lcov.info 'lib/l10n/generated/*' 'lib/theme/*' -o coverage/lcov.info - name: Coveralls uses: coverallsapp/github-action@v2