forked from aboutyou/dart_packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request aboutyou#165 from aboutyou/null_safety
NNBD support
- Loading branch information
Showing
18 changed files
with
249 additions
and
262 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 |
---|---|---|
|
@@ -12,14 +12,7 @@ jobs: | |
strategy: | ||
matrix: | ||
os: [ubuntu-16.04, macos-10.15] | ||
package: | ||
[ | ||
pending_operations, | ||
sign_in_with_apple, | ||
state_queue, | ||
state_queue_test, | ||
with_bloc, | ||
] | ||
package: [pending_operations, state_queue, state_queue_test, with_bloc] | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/setup-java@v1 | ||
|
@@ -47,3 +40,38 @@ jobs: | |
flags: ${{ matrix.package }} | ||
name: ${{ matrix.package }} | ||
fail_ci_if_error: false | ||
|
||
test-nnbd: | ||
name: Test ${{ matrix.package }} on ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-16.04, macos-10.15] | ||
package: [sign_in_with_apple] | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/setup-java@v1 | ||
with: | ||
java-version: "12.x" | ||
- uses: subosito/flutter-action@26bf50084a0c218b5b715a3641c36eac84fd2136 # v1.4.0 | ||
with: | ||
flutter-version: "2.0.1" | ||
- name: Install dependencies | ||
run: flutter packages get | ||
working-directory: packages/${{ matrix.package }} | ||
- name: Analyze | ||
run: flutter analyze | ||
working-directory: packages/${{ matrix.package }} | ||
- name: Format | ||
run: flutter format --set-exit-if-changed . | ||
working-directory: packages/${{ matrix.package }} | ||
- name: Run tests | ||
run: flutter test --coverage | ||
working-directory: packages/${{ matrix.package }} | ||
- name: Upload coverage to Codecov | ||
if: startsWith(matrix.os, 'macos') | ||
uses: codecov/[email protected] | ||
with: | ||
flags: ${{ matrix.package }} | ||
name: ${{ matrix.package }} | ||
fail_ci_if_error: false |
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,3 +1,7 @@ | ||
### 3.0.0 | ||
|
||
- Add `null`-safety | ||
|
||
### 2.5.4 | ||
|
||
- Reformat code with Flutter 1.20.4 | ||
|
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 |
---|---|---|
|
@@ -135,3 +135,6 @@ analyzer: | |
|
||
errors: | ||
argument_type_not_assignable: info | ||
|
||
enable-experiment: | ||
- non-nullable |
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.