Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
hoc081098 committed Feb 14, 2021
2 parents ec7e51d + 237438d commit c1cdab6
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/flutter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Flutter Tests

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- uses: subosito/[email protected]
with:
channel: 'dev'

- name: Doctor
run: flutter doctor

- name: Install dependencies
run: flutter packages get

- name: Format
run: flutter format lib test --set-exit-if-changed

- name: Analyze
run: flutter analyze lib test

- name: Run tests
run: flutter test --coverage --coverage-path=lcov.info

- uses: codecov/codecov-action@v1
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
## Author: [Petrus Nguyễn Thái Học](https://github.com/hoc081098)

[![Pub](https://img.shields.io/pub/v/flutter_disposebag)](https://pub.dev/packages/flutter_disposebag)
[![Pub Version](https://img.shields.io/pub/v/flutter_disposebag?include_prereleases)](https://pub.dev/packages/flutter_disposebag)
[![codecov](https://codecov.io/gh/Flutter-Dart-Open-Source/flutter_disposebag/branch/master/graph/badge.svg?token=g0vMFL9L2Q)](https://codecov.io/gh/Flutter-Dart-Open-Source/flutter_disposebag)
[![Flutter Tests](https://github.com/Flutter-Dart-Open-Source/flutter_disposebag/workflows/Flutter%20Tests/badge.svg)](https://github.com/Flutter-Dart-Open-Source/flutter_disposebag.git)

* A package to help disposing Streams and closing Sinks easily for Flutter.
* Automatically disposes `StreamSubscription` and closes `Sink` when disposing `State<T>`.
Expand Down

0 comments on commit c1cdab6

Please sign in to comment.