Skip to content

Commit 4744302

Browse files
Generate coverage report only on Ubuntu.
1 parent 59206ec commit 4744302

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
uses: dart-lang/setup-dart@v1
2020
with:
2121
sdk: ${{ matrix.sdk }}
22-
22+
2323
- name: Install lcov (macOS)
2424
if: matrix.os == 'macos-latest'
2525
run: brew install lcov
@@ -34,7 +34,12 @@ jobs:
3434
if: matrix.os == 'ubuntu-latest'
3535
run: sudo apt-get update && sudo apt-get install -y lcov
3636

37+
- name: Test without coverage report
38+
if: matrix.os != 'ubuntu-latest'
39+
run: make tests
40+
3741
- name: Test and generate coverage report
42+
if: matrix.os == 'ubuntu-latest'
3843
run: make tests_with_coverage_report
3944

4045
- name: Upload coverage to Coveralls

0 commit comments

Comments
 (0)