Skip to content

Commit

Permalink
Merge pull request #186 from LoveCommunity/ci/simplify-test-coverage
Browse files Browse the repository at this point in the history
CI - simplify test coverage command
  • Loading branch information
beeth0ven committed May 8, 2023
2 parents 3d689f3 + a4c7972 commit 059a5fe
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 118 deletions.
20 changes: 1 addition & 19 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,6 @@ jobs:
- run: dart pub get
- run: dart analyze
- run: dart pub global activate coverage
- name: Run tests
run: dart
--disable-service-auth-codes
--pause-isolates-on-exit
--enable_asserts
--enable-vm-service=1212
test/dart_scope_test.dart &
- name: Collect coverage
run: nohup dart pub global run coverage:collect_coverage
--port=1212
--out=coverage/coverage.json
--wait-paused
--resume-isolates
- name: Generate LCOV
run: dart pub global run coverage:format_coverage
--lcov
--in=coverage/coverage.json
--out=coverage/lcov.info
--report-on=lib
- run: dart pub global run coverage:test_with_coverage
- name: Upload coverage reports
uses: codecov/codecov-action@v2.1.0
61 changes: 0 additions & 61 deletions test/dart_observable/dart_observable_test.dart

This file was deleted.

28 changes: 0 additions & 28 deletions test/dart_scope/dart_scope_test.dart

This file was deleted.

10 changes: 0 additions & 10 deletions test/dart_scope_test.dart

This file was deleted.

0 comments on commit 059a5fe

Please sign in to comment.