Skip to content

Commit c1cdab6

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents ec7e51d + 237438d commit c1cdab6

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

.github/workflows/flutter.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Flutter Tests
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v2
15+
16+
- uses: subosito/flutter-action@v1.4.0
17+
with:
18+
channel: 'dev'
19+
20+
- name: Doctor
21+
run: flutter doctor
22+
23+
- name: Install dependencies
24+
run: flutter packages get
25+
26+
- name: Format
27+
run: flutter format lib test --set-exit-if-changed
28+
29+
- name: Analyze
30+
run: flutter analyze lib test
31+
32+
- name: Run tests
33+
run: flutter test --coverage --coverage-path=lcov.info
34+
35+
- uses: codecov/codecov-action@v1

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
## Author: [Petrus Nguyễn Thái Học](https://github.com/hoc081098)
44

55
[![Pub](https://img.shields.io/pub/v/flutter_disposebag)](https://pub.dev/packages/flutter_disposebag)
6+
[![Pub Version](https://img.shields.io/pub/v/flutter_disposebag?include_prereleases)](https://pub.dev/packages/flutter_disposebag)
7+
[![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)
8+
[![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)
69

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

0 commit comments

Comments
 (0)