Skip to content

Commit

Permalink
fix linter + coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Stevertus committed Nov 27, 2023
1 parent 5c199d6 commit 805f691
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@ jobs:
- uses: actions/checkout@v3
- name: Install dependencies
run: dart pub get
- name: Lint Code
run: dart analyze
- name: Run tests
run: pub run test --coverage="coverage"
run: dart pub run test --coverage="coverage"
- name: Convert coverage to ICOV
run: pub run coverage:format_coverage --lcov --in=coverage --out=coverage.lcov --packages=.packages --report-on=lib
run: dart pub run coverage:format_coverage --lcov --in=coverage --out=coverage.lcov --packages=.packages --report-on=lib
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
Expand Down
3 changes: 2 additions & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ dependencies:
archive: ^3.3.7
gson: ^0.1.6-dev
dev_dependencies:
lints: ^2.1.1
lints: ^3.0.0
test: ^1.24.3
coverage: ^1.7.1
meta: ^1.9.1

0 comments on commit 805f691

Please sign in to comment.