Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge package:coverage #432

Merged
merged 574 commits into from
Aug 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
574 commits
Select commit Hold shift + click to select a range
107baf5
Run Travis CI tests on Dart stable branch (dart-lang/coverage#233)
cbracken Oct 13, 2018
952b883
Replace uses of forEach with for-in loops (dart-lang/coverage#232)
cbracken Oct 13, 2018
45bef96
Move constructor definitions to top of classes (dart-lang/coverage#234)
cbracken Oct 13, 2018
c5cc728
Eliminate Dartium-related instructions (dart-lang/coverage#235)
cbracken Oct 13, 2018
0fc7aac
Use VMScriptRef to identify VM scripts, not URI (dart-lang/coverage#216)
cbracken Oct 19, 2018
00b08f9
Version 0.12.3 (dart-lang/coverage#237)
cbracken Oct 19, 2018
87964a2
pub badge
pq Oct 29, 2018
3c74257
Merge pull request dart-lang/coverage#238 from dart-lang/pq-pub-badge
pq Oct 29, 2018
27f311a
Fix format_coverage type error
jcollins-g Dec 12, 2018
a441b9f
Merge pull request dart-lang/coverage#240 from dart-lang/format_cover…
jcollins-g Dec 13, 2018
83377d5
Throw ArgumentError when null serviceUri specified (dart-lang/coverag…
cbracken Jan 11, 2019
7fc5ad9
Version 0.12.4 (dart-lang/coverage#242)
cbracken Jan 11, 2019
fc59a38
Enable No Response GitHub bot (dart-lang/coverage#243)
cbracken Jan 15, 2019
2d60bf1
Wait for all isolates to pause in test runs (dart-lang/coverage#244)
cbracken Jan 15, 2019
d52de1f
Eliminate duplicate lint: control_flow_in_finally (dart-lang/coverage…
cbracken Feb 19, 2019
5bdf2d6
Remove outdated codereview.settings
kevmoo Apr 16, 2019
a59cec0
Remove outdated analysis options
kevmoo Apr 16, 2019
eddc991
bump SDK constraint to a stable release
kevmoo Apr 16, 2019
33ce062
Travis: test on oldest supported SDK
kevmoo Apr 16, 2019
d1d2a7a
update travis config
kevmoo Apr 16, 2019
74cf44e
Travis: use --disable-service-auth-codes
kevmoo Apr 17, 2019
f7bf332
Remove optional 'new' keyword (dart-lang/coverage#253)
cbracken May 14, 2019
7919e18
Migrate to Dart 2 typedefs and parameter defaults (dart-lang/coverage…
cbracken May 14, 2019
76fa8d4
Declare locals final where possible (dart-lang/coverage#255)
cbracken May 14, 2019
36053eb
Migrate from vm_service_client to vm_service_lib (dart-lang/coverage#…
cbracken Jul 9, 2019
c4d2894
Disable websocket compression on service port (dart-lang/coverage#258)
cbracken Jul 9, 2019
c7e2ed1
Skip dart: sources by default (dart-lang/coverage#257)
cbracken Jul 10, 2019
28727b2
Version 0.13.0 (dart-lang/coverage#259)
cbracken Jul 10, 2019
a55a564
Handle null coverage range
grouma Jul 18, 2019
2297929
Merge pull request dart-lang/coverage#260 from dart-lang/handle-null
grouma Jul 18, 2019
e25843e
Support scoped output
grouma Jul 23, 2019
93cda88
better help
grouma Jul 23, 2019
ef656a2
support proper sdk
grouma Jul 23, 2019
c474ee5
Merge pull request dart-lang/coverage#262 from dart-lang/scoped-output
grouma Jul 23, 2019
713ca5b
Migrated to pkg:vm_service (dart-lang/coverage#263)
kevmoo Jul 29, 2019
92af5d2
small spelling tweaks (dart-lang/coverage#264)
kevmoo Jul 29, 2019
6eaf4ed
Document includeDart parameter on collect() (dart-lang/coverage#266)
cbracken Aug 9, 2019
71fa030
comment and default (dart-lang/coverage#267)
grouma Aug 14, 2019
064768b
Add --disable-service-auth-codes in README (dart-lang/coverage#268)
a14n Sep 25, 2019
c62a04c
Support filtering coverage by isolate ID (dart-lang/coverage#270)
willdrach-wk Sep 27, 2019
6c1d2ab
Version 0.13.3 (dart-lang/coverage#271)
cbracken Sep 28, 2019
fd9e039
Allow vm_service >=1.0.0 <3.0.0 (dart-lang/coverage#274)
Stargator Oct 10, 2019
5702e9e
Version 0.13.3+1
cbracken Oct 10, 2019
1c254d3
Test that const decls are not marked coverable (dart-lang/coverage#277)
cbracken Oct 10, 2019
66125a9
Version 0.13.3+2 (dart-lang/coverage#279)
cbracken Dec 3, 2019
0434e33
Loosen version restriction on package:vm_service (dart-lang/coverage#…
bkonyi Dec 4, 2019
d970560
parseChromeCoverage (dart-lang/coverage#281)
grouma Jan 24, 2020
1f728c6
prep to publish (dart-lang/coverage#282)
grouma Jan 24, 2020
e11e5b1
Handle source map parse errors (dart-lang/coverage#284)
grouma Jan 31, 2020
fd0ead4
Merge Coverage data (dart-lang/coverage#283)
grouma Jan 31, 2020
21a877a
prep to publish (dart-lang/coverage#285)
grouma Feb 1, 2020
caf8c81
analysis_options: remove unsupported error code
kevmoo Feb 4, 2020
5362a09
Fix lints in test/chrome_test.dart
kevmoo Feb 4, 2020
5fdcb37
Fix an issue where an async error was not caught where intended
kevmoo Feb 4, 2020
56bd078
Merge pull request dart-lang/coverage#286 from dart-lang/tweaks
kevmoo Feb 5, 2020
1d0f331
Enable standard pedantic lints (dart-lang/coverage#287)
kevmoo Feb 5, 2020
e41c0f6
Rename a variable for clarity (dart-lang/coverage#288)
natebosch Feb 6, 2020
09f8583
Consider all json for format (dart-lang/coverage#290)
grouma Feb 10, 2020
125811b
update the Resolver api to use the new package config api
jakemac53 Feb 14, 2020
980ae4c
update to use the real package_config 1.9.0 and fix tests and .packag…
jakemac53 Feb 27, 2020
8697caf
bump sdk to 2.7.0
jakemac53 Feb 27, 2020
f24ee43
add ignores for deprecations in the same package
jakemac53 Feb 27, 2020
cb7642b
add some tests, fix bug with relative paths
jakemac53 Feb 27, 2020
68c83f5
add note about new deprecated argument
jakemac53 Feb 27, 2020
af42dad
Make resumeIsolate robust, resilient in the face of exiting application
aam Feb 28, 2020
0251d0e
Enclose getIsolate into try-catch too
aam Feb 28, 2020
614d6ab
Guard against sync errors
aam Feb 28, 2020
3956d0e
dartfmt
aam Feb 28, 2020
8aec897
Merge pull request dart-lang/coverage#293 from dart-lang/robust-resume
aam Feb 28, 2020
27526d5
Bump package:vm_service dependency to allow for 3.x.x (dart-lang/cove…
bkonyi Feb 28, 2020
021212c
make the tests runnable in bazel
jakemac53 Mar 2, 2020
5a6a3c1
Merge branch 'master' into new-package-config
jakemac53 Mar 2, 2020
51beb65
Merge pull request dart-lang/coverage#292 from dart-lang/new-package-…
jakemac53 Mar 2, 2020
3fa320b
Remove unused imports (dart-lang/coverage#296)
kevmoo Mar 5, 2020
4232800
Use a more standard Dart + travis config (dart-lang/coverage#295)
kevmoo Mar 5, 2020
33587c6
Don't crash on empty coverage JSON files
kevmoo Mar 5, 2020
f046537
Fix newly failing lints
kevmoo Mar 5, 2020
cc21671
Update to package:vm_service 4.0.0
bkonyi Mar 9, 2020
b18d2cc
Update version
bkonyi Mar 9, 2020
8d19488
Remove unnecessary casts
bkonyi Mar 9, 2020
464774f
Merge pull request dart-lang/coverage#298 from dart-lang/roll_vm_serv…
bkonyi Mar 9, 2020
a8c6c53
Fix for latest Dart analyzer update
kevmoo Mar 11, 2020
3662fe1
Fix for latest Dart analyzer update (dart-lang/coverage#299)
kevmoo Mar 11, 2020
9196aaa
Fix outdated URLs in readme
kevmoo Mar 13, 2020
a1432b4
Retry collect_coverage_test 3x (dart-lang/coverage#300)
kevmoo Mar 25, 2020
0e4170d
Remove gratuitous title from readme
kevmoo Mar 25, 2020
4186bbe
Add the ability to ignore lines from coverage depending on the commen…
pasindud Jun 3, 2020
61feba2
Revert breaking change in 13.10 (dart-lang/coverage#304)
grouma Jun 4, 2020
0c301a0
Revert the 0.13.11 revert and properly model it as a breaking change …
grouma Jun 4, 2020
afbfaea
Remove unused dart:async imports
MichaelRFairhurst Aug 20, 2020
61f6851
Update package:vm_service to allow for ^5.0.0 releases
bkonyi Sep 10, 2020
7ef92ce
Update CHANGELOG.md
bkonyi Sep 10, 2020
ddcc1c8
Update pubspec.yaml
bkonyi Sep 10, 2020
1628f2c
Update .travis.yml
bkonyi Sep 10, 2020
4213712
Revert .travis.yaml
bkonyi Sep 10, 2020
3cac41c
Update .travis.yml
bkonyi Sep 10, 2020
d03542c
Disable testing against stable
bkonyi Sep 10, 2020
1f92316
Merge pull request dart-lang/coverage#307 from dart-lang/roll_vm_service
bkonyi Sep 10, 2020
3b150d0
Send master failure notice to Chat bot (dart-lang/coverage#310)
kevmoo Sep 14, 2020
edd8858
Merge pull request dart-lang/coverage#306 from MichaelRFairhurst/remo…
MichaelRFairhurst Sep 18, 2020
4f9090a
Fix --wait-paused with no isolates (dart-lang/coverage#311)
grouma Sep 21, 2020
11e4b79
Remove unused dart:async import (dart-lang/coverage#312)
MichaelRFairhurst Sep 22, 2020
fd765cf
Version 0.14.2 (dart-lang/coverage#320)
cbracken Nov 10, 2020
1861540
Migrate to GitHub Actions (dart-lang/coverage#325)
athomas Jan 12, 2021
f85f024
Remove packageRoot (dart-lang/coverage#324)
lukaslihotzki Jan 13, 2021
14ff9e4
Prep to publish 0.15.0 (dart-lang/coverage#327)
grouma Jan 14, 2021
bee47aa
Support latest package:vm_service (dart-lang/coverage#328)
grouma Jan 20, 2021
cf67f70
update several deps to allow the latest stable (dart-lang/coverage#329)
jakemac53 Feb 8, 2021
b7d72b6
migrate to null safety (dart-lang/coverage#332)
jakemac53 Feb 26, 2021
9b130ee
allow null to be returned from the Chrome sourceUriProvider (dart-lan…
jakemac53 Mar 2, 2021
370da6f
Pass packages argument to format_coverage (dart-lang/coverage#336)
grouma Mar 19, 2021
cc7eda1
Prep to publish (dart-lang/coverage#337)
grouma Mar 19, 2021
f62bf44
Update CI setup, test on oldest supported SDK (dart-lang/coverage#342)
kevmoo Apr 23, 2021
963805b
update ci (dart-lang/coverage#343)
kevmoo Apr 27, 2021
6092dc3
WIP: Mostly done with function coverage, but need to update tests.
liamappelbe Apr 28, 2021
1bc068f
Support vm_service 7.0.0
bkonyi May 25, 2021
2068ff5
Update pubspec.yaml
bkonyi May 26, 2021
e4ecbeb
Merge pull request dart-lang/coverage#346 from dart-lang/roll_vm_serv…
bkonyi May 26, 2021
5ebc695
Return a sorted hitmap (dart-lang/coverage#347)
grouma Jun 9, 2021
b06be6c
Merge branch 'master' of github.com:dart-lang/coverage
liamappelbe Jun 11, 2021
0fc2c68
Fix merge cruft
liamappelbe Jun 11, 2021
14293db
Fix tests
liamappelbe Jun 11, 2021
a7b88e4
Add more tests
liamappelbe Jun 11, 2021
85a8db8
Fix analysis errors
liamappelbe Jun 11, 2021
ccf1e6c
Format
liamappelbe Jun 15, 2021
840dfcc
Resolve comments
liamappelbe Jun 16, 2021
8283fa0
Put function coverage behind a flah
liamappelbe Jun 17, 2021
22ae53d
Fix analysis errors
liamappelbe Jun 18, 2021
45f9354
Update run_and_collect_test
liamappelbe Jun 18, 2021
0acdb86
Merge pull request dart-lang/coverage#348 from dart-lang/fncov
liamappelbe Jun 21, 2021
eb05e62
Remove references to travis (dart-lang/coverage#349)
natebosch Aug 30, 2021
9a492af
Use the report lines flag to speed up collecting coverage
liamappelbe Sep 1, 2021
ceb14c3
Make sure we're using the lates package:vm_service
liamappelbe Sep 1, 2021
24748b8
Bump version
liamappelbe Sep 1, 2021
228b215
Update changelog
liamappelbe Sep 3, 2021
93ae0c0
Move reportLines to 1.1.0
liamappelbe Sep 7, 2021
c9c1b24
Nate's comments
liamappelbe Sep 7, 2021
5d85a2e
Merge pull request dart-lang/coverage#350 from dart-lang/report_lines
liamappelbe Sep 7, 2021
c4905fd
Gather coverage once per isolate group
liamappelbe Sep 9, 2021
a55bb85
Update failing test
liamappelbe Sep 10, 2021
e296155
Fix analyser errors
liamappelbe Sep 10, 2021
92b4430
Merge pull request dart-lang/coverage#352 from dart-lang/iso_groups
liamappelbe Sep 10, 2021
0e7bd7c
Require Dart >=2.14 (dart-lang/coverage#351)
kevmoo Oct 13, 2021
38755d2
Move to pkg:lints (dart-lang/coverage#354)
kevmoo Oct 14, 2021
ccbc725
Update vm_service to '>=8.1.0 <9.0.0' (dart-lang/coverage#357)
bkonyi Dec 20, 2021
bc05b93
Update vm_service to '>=8.1.0 <9.0.0' (dart-lang/coverage#357)
bkonyi Dec 20, 2021
8290cbf
Prepare for 1.0.4 release
bkonyi Dec 20, 2021
977148b
Merge branch 'master' into 1.0.4_release
natebosch Dec 20, 2021
8b6bbea
Merge pull request dart-lang/coverage#358 from dart-lang/1.0.4_release
natebosch Dec 21, 2021
0e022ad
Change function coverage to be backwards compatible (dart-lang/covera…
liamappelbe Dec 23, 2021
206c845
Prepare for release (dart-lang/coverage#360)
liamappelbe Jan 18, 2022
396bd70
updates readme documentation (dart-lang/coverage#363)
Luckey-Elijah Feb 2, 2022
3f10696
Handle new VM service message format (dart-lang/coverage#364)
bkonyi Feb 4, 2022
5833e45
Change support for VM service message from "Dart VM Service listening…
bkonyi Feb 7, 2022
3869867
Change support for VM service message from "The Dart VM Service is li…
bkonyi Feb 9, 2022
9eae6b4
Branch coverage (dart-lang/coverage#361)
liamappelbe Feb 25, 2022
00577d2
Migrate tests to package_config.json (dart-lang/coverage#368)
liamappelbe Mar 8, 2022
c85e0be
correctly parse package_config files on windows with relative root UR…
jonahwilliams Mar 17, 2022
594ca55
Prepare for 1.2.0 release (dart-lang/coverage#373)
liamappelbe Mar 24, 2022
d6028e8
Deprecate --packages flag and add --package (dart-lang/coverage#370)
liamappelbe Mar 29, 2022
fda7e99
Add repository to pubspec (dart-lang/coverage#374)
devoncarew Apr 18, 2022
78739c4
Add test_with_coverage.dart (dart-lang/coverage#375)
liamappelbe Apr 29, 2022
8291955
Use libraryFilters to speed up scopedOutput checks (dart-lang/coverag…
liamappelbe May 11, 2022
4fc8807
Prepare for 1.3.0 release (dart-lang/coverage#379)
liamappelbe May 11, 2022
9a4fd09
Fix running test_with_coverage non-directly (dart-lang/coverage#381)
jellynoone May 12, 2022
b774a25
Enable and fix mac and windows CI (dart-lang/coverage#387)
liamappelbe May 16, 2022
e7cd327
test: drop special cases for Dart v1 SDKs (dart-lang/coverage#394)
kevmoo Jun 15, 2022
6bebd53
Fix branch coverage test (dart-lang/coverage#396)
liamappelbe Jun 21, 2022
8419613
Add version of parseJson that can cache file reads and parses (dart-l…
jensjoha Jun 21, 2022
3626c5c
Bump vm_service version (dart-lang/coverage#397)
liamappelbe Jun 21, 2022
c3ecc96
Put the token pos errors behind a debug flag (dart-lang/coverage#395)
liamappelbe Jun 21, 2022
fa72e5e
Ignore implicit functions (dart-lang/coverage#400)
liamappelbe Jun 22, 2022
2713f3d
Fix handling of part files in function coverage (dart-lang/coverage#402)
liamappelbe Jun 23, 2022
2c10298
Switch analysis options to enable strict casts
kevmoo Jun 28, 2022
a98ab3e
test: DRY up sources logic
kevmoo Jun 28, 2022
58aa60d
test: use pkg:test_process
kevmoo Jun 28, 2022
22e2d86
DRY up logic for handling serviceUri
kevmoo Jun 28, 2022
f12ebf5
test: use TestProcess more places (dart-lang/coverage#406)
kevmoo Jun 29, 2022
5d64713
Enable and fix non_constant_identifier_names lint (dart-lang/coverage…
kevmoo Jun 29, 2022
b3c969e
test: DRY up parsing and validating coverage JSON
kevmoo Jun 29, 2022
b477e33
Cleanup hitmap JSON generation
kevmoo Jun 29, 2022
9e6e140
test: improve function hit coverage testing
kevmoo Jun 29, 2022
6f6fec9
Cleanup lib/src/run_and_collect.dart
kevmoo Jun 29, 2022
cf57ebf
cleanup collect
kevmoo Jun 30, 2022
7c22d6e
cleanup: bin/test_with_coverage.dart
kevmoo Jun 30, 2022
725f020
Support passing extra arguments to test via test_with_coverage
kevmoo Jun 28, 2022
e8006b6
Format and cleanup markdown files (dart-lang/coverage#410)
kevmoo Jun 30, 2022
3a4ff6f
Ignore abstract methods (dart-lang/coverage#412)
liamappelbe Jul 25, 2022
ce7d9f0
ignore-line comments etc must be at the end of the line (dart-lang/co…
liamappelbe Aug 11, 2022
1270d91
Increase timeout to fix mac bot (dart-lang/coverage#417)
liamappelbe Aug 18, 2022
8b615e5
Add a benchmark (dart-lang/coverage#419)
liamappelbe Aug 31, 2022
ed6f705
update the to standard Dart BSD license (dart-lang/coverage#421)
devoncarew Sep 1, 2022
39dc461
Use the new `IsolateRef.isolateGroupId` to speed up isolate deduping …
liamappelbe Sep 8, 2022
cff2079
Prepare to publish 1.6.0 (dart-lang/coverage#423)
liamappelbe Sep 8, 2022
031d6ad
WIP: Handle SentinelException (dart-lang/coverage#424)
liamappelbe Sep 20, 2022
273b1da
Fix void_checks lint that happens with latest analysis (dart-lang/cov…
kevmoo Oct 11, 2022
16be6fb
blast_repo fixes (dart-lang/coverage#429)
kevmoo Nov 14, 2022
460381f
Bump coverallsapp/github-action from 1.1.2 to 1.1.3 (dart-lang/covera…
dependabot[bot] Nov 14, 2022
047c73d
update the no-response behavior configuration (dart-lang/coverage#428)
devoncarew Nov 14, 2022
d872b1d
Bump actions/checkout from 3.1.0 to 3.2.0 (dart-lang/coverage#433)
dependabot[bot] Jan 3, 2023
40b799d
Update pkg:vm_service constraints to '>=9.4.0 <11.0.0' (dart-lang/cov…
derekxu16 Jan 12, 2023
4fe1dfd
Fix CI by updating pkg:mockito and generated code (dart-lang/coverage…
kevmoo Jan 26, 2023
6dc4421
Bump actions/checkout from 3.2.0 to 3.3.0 (dart-lang/coverage#437)
dependabot[bot] Feb 1, 2023
ac6cc8d
Bump dart-lang/setup-dart from 1.3 to 1.4 (dart-lang/coverage#436)
dependabot[bot] Feb 1, 2023
b47c603
update vm_service to allow vm_service:11.0.0 (dart-lang/coverage#438)
CoderDake Feb 6, 2023
aac0fcd
Run no response bot daily (dart-lang/coverage#440)
kevmoo Feb 15, 2023
e34db70
Bump actions/checkout from 3.3.0 to 3.5.2 (dart-lang/coverage#449)
dependabot[bot] May 8, 2023
019c51a
Update LCOV link (dart-lang/coverage#446)
dcharkes May 10, 2023
18d9c21
Bump dart-lang/setup-dart from 1.4.0 to 1.5.0 (dart-lang/coverage#444)
dependabot[bot] May 10, 2023
f570c18
Bump coverallsapp/github-action from 1.1.3 to 2.1.2 (dart-lang/covera…
dependabot[bot] May 10, 2023
c2e69df
blast_repo fixes (dart-lang/coverage#450)
devoncarew May 15, 2023
ffef0ff
blast_repo fixes (dart-lang/coverage#451)
devoncarew May 22, 2023
fa350e1
Bump actions/checkout from 3.5.2 to 3.5.3 (dart-lang/coverage#455)
dependabot[bot] Jul 1, 2023
34452e2
Bump coverallsapp/github-action from 2.1.2 to 2.2.0 (dart-lang/covera…
dependabot[bot] Jul 1, 2023
abe26ef
Ignore enhancements (dart-lang/coverage#454)
kturney Jul 6, 2023
cee14ad
Bump coverallsapp/github-action from 2.2.0 to 2.2.1 (dart-lang/covera…
dependabot[bot] Aug 1, 2023
15f3ece
Don't analyze using dev channel (dart-lang/coverage#459)
liamappelbe Aug 28, 2023
983398e
Bump actions/checkout from 3.5.3 to 3.6.0 (dart-lang/coverage#460)
dependabot[bot] Sep 1, 2023
479513b
Bump coverallsapp/github-action from 2.2.1 to 2.2.3 (dart-lang/covera…
dependabot[bot] Oct 1, 2023
b1c5524
Bump dart-lang/setup-dart from 1.5.0 to 1.5.1 (dart-lang/coverage#461)
dependabot[bot] Oct 1, 2023
30b5095
Prepare for 1.6.4 release (dart-lang/coverage#464)
bkonyi Oct 2, 2023
e3026dc
Bump actions/checkout from 3.6.0 to 4.1.0 (dart-lang/coverage#463)
dependabot[bot] Oct 2, 2023
070b491
Add `coverableLineCache` param to `collect` (dart-lang/coverage#466)
liamappelbe Oct 18, 2023
54d57d5
Update package:vm_service to >=12.0.0 <14.0.0 (dart-lang/coverage#468)
bkonyi Oct 25, 2023
b293ac4
Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (dart-lang/coverage#470)
dependabot[bot] Nov 1, 2023
0d63a09
Bump actions/checkout from 4.1.0 to 4.1.1 (dart-lang/coverage#469)
dependabot[bot] Nov 1, 2023
d574b9b
Move to latest lints (dart-lang/coverage#471)
kevmoo Nov 9, 2023
8687e6e
Update package:vm_service constraints to '>=12.0.0 <15.0.0' (dart-lan…
derekxu16 Dec 13, 2023
67a10d0
Bump actions/stale from 8.0.0 to 9.0.0 (dart-lang/coverage#476)
dependabot[bot] Jan 1, 2024
e24c263
Hint users how to let the ignore comments take effect (dart-lang/cove…
fzyzcjy Jan 2, 2024
540ec45
Bump dart-lang/setup-dart from 1.6.0 to 1.6.2 (dart-lang/coverage#480)
dependabot[bot] Feb 1, 2024
b2f2988
Fix nullability analysis error (dart-lang/coverage#484)
liamappelbe Apr 18, 2024
b98caaa
Bump actions/checkout from 4.1.1 to 4.1.2 (dart-lang/coverage#483)
dependabot[bot] Apr 18, 2024
7eea597
Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/coverage#486)
dependabot[bot] May 1, 2024
f6ea738
Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/coverage#485)
dependabot[bot] May 1, 2024
1c2b08e
blast_repo fixes (dart-lang/coverage#487)
devoncarew May 3, 2024
10b7bac
Copy collect_coverage's `--scope-output` flag to test_with_coverage. …
liamappelbe May 6, 2024
1284f67
Bump the github-actions group with 2 updates (dart-lang/coverage#491)
dependabot[bot] Jun 1, 2024
996fada
Bump the github-actions group with 2 updates (dart-lang/coverage#493)
dependabot[bot] Jul 1, 2024
998c317
update lints (dart-lang/coverage#494)
kevmoo Jul 8, 2024
6b1066e
Exclude the windows + SDK v3.4 combo (dart-lang/coverage#499)
liamappelbe Jul 30, 2024
20064b4
Apply `--scope-output` filters after `getSourceReport` (dart-lang/cov…
liamappelbe Jul 31, 2024
0c9e237
Add --ignore-files option to exclude files from code coverage using p…
gogolon Aug 1, 2024
ebc5af5
Prepare to publish (dart-lang/coverage#501)
liamappelbe Aug 1, 2024
5dd0834
Remove old version checks (dart-lang/coverage#502)
liamappelbe Aug 12, 2024
a22575d
Replace <> with () in comment (dart-lang/coverage#503)
liamappelbe Aug 12, 2024
3d67ae2
Merge package:coverage into shared tool repository
mosuem Aug 28, 2024
391f95d
Merging fixes
mosuem Aug 28, 2024
0355116
Ignore licenses for generated and mock files
mosuem Aug 28, 2024
43d9ee4
Adapt path in coverage upload
mosuem Aug 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
99 changes: 99 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
name: Dart CI

on:
# Run on PRs and pushes to the default branch.
push:
branches: [ main ]
paths:
- '.github/workflows/coverage.yml'
- 'pkgs/coverage/**'
pull_request:
branches: [ main ]
paths:
- '.github/workflows/coverage.yml'
- 'pkgs/coverage/**'
schedule:
- cron: "0 0 * * 0"

env:
PUB_ENVIRONMENT: bot.github

jobs:
# Check code formatting and static analysis on a single OS (linux)
# against Dart dev.
analyze:
runs-on: ubuntu-latest
defaults:
run:
working-directory: pkgs/coverage/
strategy:
fail-fast: false
matrix:
sdk: [dev]
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672
with:
sdk: ${{ matrix.sdk }}
- id: install
name: Install dependencies
run: dart pub get
- name: Check formatting
run: dart format --output=none --set-exit-if-changed .
if: always() && steps.install.outcome == 'success'
- name: Analyze code
run: dart analyze --fatal-infos
if: always() && steps.install.outcome == 'success'

# Run tests on a matrix consisting of two dimensions:
# 1. OS: ubuntu-latest, macos-latest, windows-latest
# 2. release channel: dev
test:
needs: analyze
runs-on: ${{ matrix.os }}
defaults:
run:
working-directory: pkgs/coverage/
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
sdk: [3.4, dev]
exclude:
# VM service times out on windows before Dart 3.5
# https://github.com/dart-lang/coverage/issues/490
- os: windows-latest
sdk: 3.4
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672
with:
sdk: ${{ matrix.sdk }}
- id: install
name: Install dependencies
run: dart pub get
- name: Run VM tests
run: dart test --platform vm
if: always() && steps.install.outcome == 'success'

coverage:
needs: test
runs-on: ubuntu-latest
defaults:
run:
working-directory: pkgs/coverage/
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672
with:
sdk: dev
- id: install
name: Install dependencies
run: dart pub get
- name: Collect and report coverage
run: dart run bin/test_with_coverage.dart --port=9292
- name: Upload coverage
uses: coverallsapp/github-action@643bc377ffa44ace6394b2b5d0d3950076de9f63
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: pkgs/coverage/coverage/lcov.info
3 changes: 3 additions & 0 deletions .github/workflows/health.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,8 @@ on:
jobs:
health:
uses: dart-lang/ecosystem/.github/workflows/health.yaml@main
with:
ignore_coverage: "**.mock.dart,**.g.dart"
ignore_license: "**.mock.dart,**.g.dart,**.mocks.dart"
permissions:
pull-requests: write
18 changes: 18 additions & 0 deletions pkgs/coverage/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Pub
packages
pubspec.lock
build
.dart_tool/
.pub
.packages

# IDEs
.project
.settings
.idea
*.iml

# Temp files
*~
coverage/
var/
12 changes: 12 additions & 0 deletions pkgs/coverage/AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Below is a list of people and organizations that have contributed
# to the coverage project. Names should be added to the list like so:
#
# Name/Organization <email address>

Google Inc.
Achilleas Anagnostopoulos <achilleas.imap.mbox@gmail.com>
Adam Singer <adammichaelsinger@gmail.com>
Cédric Belin <cedxbelin@gmail.com>
Evan Weible <ekweible@gmail.com>
Günter Zöchbauer <guenter@gzoechbauer.com>
Will Drach <will.drach@gmail.com>
Loading
Loading