You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
785 B
35 lines
785 B
name: Dart CI |
|
|
|
on: [push] |
|
|
|
jobs: |
|
build: |
|
strategy: |
|
matrix: |
|
os: ['ubuntu-latest', 'windows-2019', 'macos-latest'] |
|
dart_channel: ['stable'] |
|
|
|
fail-fast: false |
|
runs-on: ${{ matrix.os }} |
|
|
|
steps: |
|
- uses: actions/checkout@v1 |
|
- uses: cedx/setup-dart@v2 |
|
with: |
|
release-channel: ${{ matrix.dart_channel }} |
|
- run: | |
|
which dart |
|
codesign --remove-signature $(which dart) |
|
if: startsWith(matrix.os, 'macos') |
|
- name: Install dependencies |
|
run: pub get |
|
- name: Run tests |
|
run: pub run test |
|
coverage: |
|
runs-on: ubuntu-latest |
|
steps: |
|
- uses: actions/checkout@v2 |
|
- uses: cedx/setup-dart@v2 |
|
with: |
|
release-channel: dev |
|
- run: _tool/test-coverage.sh
|
|
|