File tree Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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> ` .
You can’t perform that action at this time.
0 commit comments