Skip to content

Commit

Permalink
ci(CI/CD): 👷 update ci build
Browse files Browse the repository at this point in the history
add github actions file
  • Loading branch information
HenriqueNas committed Jul 3, 2023
1 parent b79feac commit 80fdfda
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 2 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/test_coverage.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: test_coverage

on:
pull_request:
paths:
- ".github/workflows/very_good_cli.yaml"
- "lib/**"
- "test/**"
- "pubspec.yaml"
push:
branches:
- main
paths:
- ".github/workflows/very_good_cli.yaml"
- "lib/**"
- "test/**"
- "pubspec.yaml"

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Check Code Coverage
uses: VeryGoodOpenSource/[email protected]
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# BR Utils Dart

[![pub package][pub_badge]][pub_badge_link]
[![coverage][coverage_badge]][ci_link]
[![License: MIT][license_badge]][license_badge_link]
[![style: very good analysis][badge]][badge_link]

Expand Down Expand Up @@ -84,7 +85,9 @@ void main() {
[badge_link]: https://pub.dev/packages/very_good_analysis
[license_badge]: https://img.shields.io/badge/license-MIT-blue.svg
[license_badge_link]: https://opensource.org/licenses/MIT
[pub_badge]: https://img.shields.io/pub/v/very_good_analysis.svg
[pub_badge]: https://img.shields.io/pub/v/br_utils.svg
[pub_badge_link]: https://pub.dev/packages/br_utils
[dart_install_link]: https://dart.dev/get-dart
[analysis_options_yaml]: https://github.com/VeryGoodOpenSource/very_good_analysis/blob/main/lib/analysis_options.4.0.0.yaml
[analysis_options_yaml]: https://github.com/VeryGoodOpenSource/very_good_analysis/blob/main/lib/analysis_options.4.0.0.yaml
[coverage_badge]: https://raw.githubusercontent.com/henriquenas/brutils-dart/main/coverage_badge.svg
[ci_link]: https://github.com/henriquenas/brutils-dart/actions

0 comments on commit 80fdfda

Please sign in to comment.