Add coverage workflow (#119)

* Excise health from firehose

* Switch to branch

* Fix call site

* Fix call site 2

* Add changelog entry

* Change PR comment

* Typo

* Refactor severity

* Add version health check

* Change validation markdown

* Add tags to skip

* Prepare for publish

* Add coverage

* Add coverage to default checks

* Adapt to multirepo

* Add conditional

* Fixes

* Actually call comparing coverages...

* Remove nullcheck

* Fix old path

* Small fixes

* Add print

* Add debug print

* Some changes

* Make relative to dir

* Fix test

* Sw9itch to dir

* Remove test

* Switch relative

* Remove relative

* Nicer markdown

* Add changelog entry

* Add lcov parser test

* Add testing

* Add license header

* Add emojis!

* Fix null error

* Add info words

* Adapt readme

* Fix decreasing coverage

* Fix decreasing coverage 2

* Fix decreasing coverage 3

* combine methods

* Do not try to cover test/ files

* Simplify - thanks Oleh

* Fix exit code and add debug toString

* Small fixes

* Do not exit on missing test folder

* Do not exit on missing test folder 2

* Fix typo

* Upload coverage to Coveralls

* Update pkgs/firehose/README.md

Co-authored-by: Devon Carew <devoncarew@google.com>

* Changes as per review 1

* Switch health internal

* Change type

* Fix path

* Add license header

* Add tag message

* Split up health class

* Move severity

* Add license headers

* Switch from bash to Dart

* Add subrepos

* Move cd

* Fix CI

* Fix

* Add debug and working dir

* Fix typo

* Switch base repo path

* Add  pub get call

* Remove semicolon

* Add debug messages

* Add toString

* Remove unused base_ref

* Change markdown

* Fix typo and add message

* Remove dep on Github

* Add license test

* Do not show relative on 0

---------

Co-authored-by: Devon Carew <devoncarew@google.com>
18 files changed
tree: 5d5ccd9e8e95c03bf8fbfde597c8cfd87e03afad
  1. .github/
  2. pkgs/
  3. tool/
  4. .gitattributes
  5. .gitignore
  6. CONTRIBUTING.md
  7. LICENSE
  8. mono_repo.yaml
  9. README.md
README.md

Dart CI

Overview

This repository is home to general Dart Ecosystem tools and packages.

Packages

PackageDescriptionVersion
blast_repoA tool to bulk validate and fix GitHub repos.
corpusA tool to calculate the API usage for a package.
dart_flutter_team_lintsAn analysis rule set used by the Dart and Flutter teams.pub package
firehoseA tool to automate publishing of Pub packages from GitHub actions.pub package
repo_manageMiscellaneous issue, repo, and PR query tools.

Publishing automation

For information about our publishing automation and release process, see https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.

For additional information about contributing, see our contributing page.