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: cedx/setup-dart@v2 with: release-channel: dev - run: _tool/test-coverage.sh - name: Coveralls uses: coverallsapp/github-action@v1.1.1 env: COVERALLS_FLAG_NAME: Unit with: github-token: ${{ secrets.GITHUB_TOKEN }} path-to-lcov: coverage/lcov.info # base-path: .