Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Skycoder42 committed Aug 26, 2021
1 parent f76136a commit ce1a5f5
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 14 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/sodium_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,12 @@ jobs:
- run: dart run tool/test_runner.dart -mintegration -p${{ matrix.system }}
- uses: VeryGoodOpenSource/very_good_coverage@v1.1.1
with:
path: packages/${{ env.PACKAGE_NAME }}/coverage/lcov_cleaned.info
path: packages/${{ env.PACKAGE_NAME }}/coverage/lcov.info
min_coverage: 95
exclude: >-
**/*.freezed.dart
**/*.ffi.dart
**/*.js.dart
- run: dart run tool/publish.dart --dry-run

release:
Expand Down
25 changes: 12 additions & 13 deletions packages/sodium/tool/test_runner.dart
Original file line number Diff line number Diff line change
Expand Up @@ -82,20 +82,19 @@ Future<void> main(List<String> rawArgs) async {
'--report-on=lib',
]);

await run(
'lcov',
const [
'--remove',
'coverage/lcov.info',
'--output-file',
'coverage/lcov_cleaned.info',
'**/*.freezed.dart',
'**/*.ffi.dart',
'**/*.js.dart',
],
);

if (openCoverage) {
await run(
'lcov',
const [
'--remove',
'coverage/lcov.info',
'--output-file',
'coverage/lcov_cleaned.info',
'**/*.freezed.dart',
'**/*.ffi.dart',
'**/*.js.dart',
],
);
await run(
'genhtml',
[
Expand Down

0 comments on commit ce1a5f5

Please sign in to comment.