Revert "test coverage thing"

This reverts commit 680e11ed61.
This commit is contained in:
Sorunome 2020-06-05 15:42:13 +02:00
parent 22a5793e07
commit ac90481d1a
No known key found for this signature in database
GPG key ID: B19471D07FC9BE9C
3 changed files with 7 additions and 13 deletions

View file

@ -596,12 +596,10 @@ packages:
test_coverage: test_coverage:
dependency: "direct dev" dependency: "direct dev"
description: description:
path: "." name: test_coverage
ref: "6831abb314cc05e32b5d9140324e84069484b2eb" url: "https://pub.dartlang.org"
resolved-ref: "6831abb314cc05e32b5d9140324e84069484b2eb" source: hosted
url: "https://github.com/pulyaevskiy/test-coverage.git" version: "0.4.1"
source: git
version: "0.4.2"
timing: timing:
dependency: transitive dependency: transitive
description: description:

View file

@ -29,11 +29,7 @@ dependencies:
dev_dependencies: dev_dependencies:
test: ^1.0.0 test: ^1.0.0
test_coverage: test_coverage: ^0.4.1
git:
url: https://github.com/pulyaevskiy/test-coverage.git
ref: 6831abb314cc05e32b5d9140324e84069484b2eb
# test_coverage: ^0.4.1
moor_generator: ^3.0.0 moor_generator: ^3.0.0
build_runner: ^1.5.2 build_runner: ^1.5.2
pedantic: ^1.9.0 pedantic: ^1.9.0

View file

@ -1,6 +1,6 @@
#!/bin/sh -e #!/bin/sh -e
pub run test -p vm pub run test -p vm
pub run test_coverage --print-test-output pub run test_coverage
pub global activate remove_from_coverage pub global activate remove_from_coverage
pub global run remove_from_coverage:remove_from_coverage -f coverage/lcov.info -r '.g.dart$' pub global run remove_from_coverage:remove_from_coverage -f coverage/lcov.info -r '.g.dart$'
genhtml -o coverage coverage/lcov.info || true genhtml -o coverage coverage/lcov.info || true