-
Notifications
You must be signed in to change notification settings - Fork 273
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* move rxdart source to packages/rxdart dir * setup melos * setup melos * setup melos * done example * example => xamples * ignore * update melos.yaml * update melos.yaml * update melos.yaml * update melos.yaml * fix CI * fix CI * fix CI * fix sample * fix ci * readme * readme * dart 3 sealed class to github_search example * fix tests * fix tests
- Loading branch information
Showing
357 changed files
with
2,034 additions
and
374 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
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 |
---|---|---|
|
@@ -3,15 +3,15 @@ name: Dart CI | |
on: | ||
push: | ||
branches: [ master ] | ||
paths-ignore: [ '**.md', 'example/**' ] | ||
paths-ignore: [ '**.md', 'examples/**' ] | ||
pull_request: | ||
branches: [ master ] | ||
paths-ignore: [ '**.md', 'example/**' ] | ||
paths-ignore: [ '**.md', 'examples/**' ] | ||
schedule: | ||
# Runs at 00:00 UTC on the 1, 8, 15, 22 and 29th of every month. | ||
- cron: '0 0 */7 * *' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
analyze-and-test: | ||
runs-on: ubuntu-latest | ||
|
@@ -28,46 +28,27 @@ jobs: | |
with: | ||
sdk: ${{ matrix.sdk }} | ||
|
||
- name: Install melos | ||
run: dart pub global activate melos | ||
|
||
- name: Print Dart version | ||
run: dart --version | ||
|
||
- name: Install dependencies | ||
run: dart pub get | ||
run: melos run pub-get-no-private | ||
|
||
- name: Analyze | ||
if: ${{ matrix.sdk == 'stable' }} | ||
run: dart analyze --fatal-infos --fatal-warnings | ||
run: melos run analyze-no-private | ||
|
||
- name: Format code | ||
if: ${{ matrix.sdk == 'stable' }} | ||
run: dart format . --set-exit-if-changed | ||
run: melos run format-no-private | ||
|
||
- name: Active coverage | ||
run: dart pub global activate coverage | ||
|
||
- name: Run tests | ||
run: dart pub run test test/rxdart_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/rxdart_test.dart & | ||
|
||
- name: Collect coverage | ||
run: nohup dart pub global run coverage:collect_coverage | ||
--port=8111 | ||
--out=coverage.json | ||
--wait-paused | ||
--resume-isolates | ||
|
||
- name: Format coverage | ||
run: dart pub global run coverage:format_coverage | ||
--lcov | ||
--in=coverage.json | ||
--out=lcov.info | ||
--report-on=lib | ||
run: melos run test-rxdart | ||
|
||
- uses: codecov/[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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
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,13 @@ | ||
include: package:lints/recommended.yaml | ||
|
||
analyzer: | ||
language: | ||
strict-casts: true | ||
strict-raw-types: true | ||
|
||
linter: | ||
rules: | ||
- always_declare_return_types # https://github.com/dart-lang/lints#migrating-from-packagepedantic | ||
- prefer_single_quotes # https://github.com/dart-lang/lints#migrating-from-packagepedantic | ||
- unawaited_futures # https://github.com/dart-lang/lints#migrating-from-packagepedantic | ||
- unsafe_html # https://github.com/dart-lang/lints#migrating-from-packagepedantic |
File renamed without changes.
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,20 @@ | ||
# Generated by pub | ||
# See https://dart.dev/tools/pub/glossary#lockfile | ||
packages: | ||
lints: | ||
dependency: "direct dev" | ||
description: | ||
name: lints | ||
sha256: "976c774dd944a42e83e2467f4cc670daef7eed6295b10b36ae8c85bcbf828235" | ||
url: "https://pub.dev" | ||
source: hosted | ||
version: "4.0.0" | ||
rxdart: | ||
dependency: "direct main" | ||
description: | ||
path: "../../packages/rxdart" | ||
relative: true | ||
source: path | ||
version: "0.28.0-dev.2" | ||
sdks: | ||
dart: ">=3.1.0 <4.0.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: rxdart_fibonacci_example | ||
publish_to: none | ||
|
||
environment: | ||
sdk: '>=3.0.0 <4.0.0' | ||
|
||
dependencies: | ||
rxdart: | ||
path: ../../packages/rxdart | ||
|
||
dev_dependencies: | ||
lints: ^4.0.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Miscellaneous | ||
*.class | ||
*.log | ||
*.pyc | ||
*.swp | ||
.DS_Store | ||
.atom/ | ||
.buildlog/ | ||
.history | ||
.svn/ | ||
|
||
# IntelliJ related | ||
*.iml | ||
*.ipr | ||
*.iws | ||
.idea/ | ||
|
||
# The .vscode folder contains launch configuration and tasks you configure in | ||
# VS Code which you may wish to be included in version control, so this line | ||
# is commented out by default. | ||
#.vscode/ | ||
|
||
# Flutter/Dart/Pub related | ||
**/doc/api/ | ||
**/ios/Flutter/.last_build_id | ||
.dart_tool/ | ||
.flutter-plugins | ||
.flutter-plugins-dependencies | ||
.packages | ||
.pub-cache/ | ||
.pub/ | ||
/build/ | ||
*.mocks.dart | ||
|
||
# Web related | ||
lib/generated_plugin_registrant.dart | ||
|
||
# Symbolication related | ||
app.*.symbols | ||
|
||
# Obfuscation related | ||
app.*.map.json |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...ithub_search/lib/empty_result_widget.dart → ...ithub_search/lib/empty_result_widget.dart
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
File renamed without changes.
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
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...ithub_search/lib/search_error_widget.dart → ...ithub_search/lib/search_error_widget.dart
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
2 changes: 1 addition & 1 deletion
2
...ithub_search/lib/search_intro_widget.dart → ...ithub_search/lib/search_intro_widget.dart
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
Oops, something went wrong.