-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* deps * lints * lints * lints * github actions
- Loading branch information
Showing
11 changed files
with
80 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
name: Dart CI | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
schedule: | ||
# Runs at 02:00 UTC on the 1, 4, 7, 10, 13, 16, 19, 22, 25, 28 and 31st of every month. | ||
- cron: "0 2 */3 * *" | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
container: [ 'google/dart:latest', 'google/dart:dev' ] | ||
|
||
container: | ||
image: ${{ matrix.container }} | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Print Dart version | ||
run: dart --version | ||
|
||
- name: Install dependencies | ||
run: pub get | ||
|
||
- name: Analyze | ||
run: dart analyze --fatal-infos --fatal-warnings | ||
|
||
- name: Format code | ||
run: dart format . --set-exit-if-changed | ||
|
||
- name: Active coverage | ||
run: pub global activate coverage | ||
|
||
- name: Run tests | ||
run: pub run test test/rx_storage_test.dart --chain-stack-traces | ||
|
||
- name: Start Observatory | ||
run: dart --disable-service-auth-codes --enable-vm-service=8111 --pause-isolates-on-exit --enable-asserts test/rx_storage_test.dart & | ||
|
||
- name: Collect coverage | ||
run: nohup pub global run coverage:collect_coverage --port=8111 --out=coverage.json --wait-paused --resume-isolates | ||
|
||
- name: Format coverage | ||
run: pub global run coverage:format_coverage --lcov --in=coverage.json --out=lcov.info --packages=.packages --report-on=lib | ||
|
||
- uses: codecov/[email protected] |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Petrus Nguyễn Thái Học <[email protected]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
name: rx_storage | ||
description: Reactive storage for Dart/Flutter. RxDart Storage for Dart/Flutter. | ||
version: 1.1.0 | ||
author: Petrus Nguyen Thai Hoc <[email protected]> | ||
version: 1.2.0 | ||
homepage: https://github.com/Flutter-Dart-Open-Source/rx_storage.git | ||
repository: https://github.com/Flutter-Dart-Open-Source/rx_storage.git | ||
issue_tracker: https://github.com/Flutter-Dart-Open-Source/rx_storage/issues | ||
|
@@ -10,12 +9,12 @@ environment: | |
sdk: '>=2.12.0 <3.0.0' | ||
|
||
dependencies: | ||
rxdart_ext: ^0.1.0 | ||
rxdart_ext: ^0.1.2 | ||
disposebag: ^1.5.0 | ||
meta: ^1.3.0 | ||
meta: ^1.7.0 | ||
stack_trace: ^1.10.0 | ||
|
||
dev_dependencies: | ||
pedantic: ^1.11.0 | ||
test: ^1.17.3 | ||
lints: ^1.0.1 | ||
test: ^1.17.12 | ||
collection: ^1.15.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters