Skip to content

update import, github workflow #161

update import, github workflow

update import, github workflow #161

Workflow file for this run

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: dart pub get
- name: Run tests
run: dart run test
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dart-lang/setup-dart@v1
with:
release-channel: stable
- run: _tool/test-coverage.sh
- name: Coveralls
uses: coverallsapp/[email protected]
env:
COVERALLS_FLAG_NAME: Unit
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage/lcov.info
# base-path: .