Skip to content

Commit 8afa2fc

Browse files
authored
Merge pull request #10 from osociety/release-1.0.1
Fix coverage path
2 parents 0c01bd1 + 931dec8 commit 8afa2fc

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

.github/workflows/flutter.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,9 @@ jobs:
7474

7575
- name: Run tests
7676
run: flutter test --coverage
77-
78-
- name: Format Coverage
79-
run: dart pub global run coverage:format_coverage --packages=.dart_tool/package_config.json --report-on=lib --lcov -o ./coverage/lcov.info -i ./coverage
80-
77+
8178
- name: Upload Coverage to CodeCov
8279
uses: codecov/codecov-action@v3
8380
with:
8481
token: ${{secrets.CODECOV_TOKEN}}
85-
file: coverage/coverage.lcov
82+
file: coverage/lcov.info

.github/workflows/publish.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,6 @@ jobs:
6363
- name: Run tests
6464
run: flutter test --coverage
6565

66-
- name: Format Coverage
67-
run: dart pub global run coverage:format_coverage --packages=.dart_tool/package_config.json --report-on=lib --lcov -o ./coverage/lcov.info -i ./coverage
68-
6966
- name: Setup Pub Credentials
7067
shell: bash
7168
env:
@@ -86,4 +83,4 @@ jobs:
8683
uses: codecov/codecov-action@v3
8784
with:
8885
token: ${{secrets.CODECOV_TOKEN}}
89-
file: coverage/coverage.lcov
86+
file: coverage/lcov.info

0 commit comments

Comments
 (0)