-
Notifications
You must be signed in to change notification settings - Fork 3
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 #9 from Komposten/release-3.0.0
Release 3.0.0
- Loading branch information
Showing
19 changed files
with
185 additions
and
121 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,69 @@ | ||
name: Dart CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- develop | ||
- release-* | ||
pull_request: | ||
branches: | ||
- master | ||
- develop | ||
- release-* | ||
|
||
jobs: | ||
test: | ||
name: Unit tests | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
dart_sdk: [ 2.12.0, stable ] | ||
|
||
steps: | ||
- name: Install Dart | ||
uses: dart-lang/setup-dart@v1 | ||
with: | ||
sdk: ${{ matrix.dart_sdk }} | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Install dependencies | ||
run: pub get | ||
- name: Run tests | ||
run: xvfb-run -a pub run test -p vm,chrome --coverage .coverage | ||
- name: Format test coverage as LCOV | ||
run: pub run coverage:format_coverage --lcov --packages=.packages --report-on lib --in .coverage/ --out .coverage/lcov.info | ||
- name: Upload to CodeCov | ||
uses: codecov/codecov-action@v1 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
file: ./.coverage/lcov.info | ||
|
||
|
||
analyse: | ||
name: Code analysis | ||
runs-on: ubuntu-latest | ||
|
||
container: | ||
image: google/dart:latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Install dependencies | ||
run: pub get | ||
- name: Run analyser | ||
run: dartanalyzer lib test example | ||
|
||
format: | ||
name: Code format | ||
runs-on: ubuntu-latest | ||
|
||
container: | ||
image: google/dart:latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Check code format | ||
run: dartfmt -n --set-exit-if-changed . |
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
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
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.