CI #917
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
name: CI | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: "0 10 * * *" | |
jobs: | |
flutter: | |
name: ${{ matrix.package_name }} on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
package_name: | |
- interactive | |
os: | |
- ubuntu-latest | |
- macos-latest | |
- windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dart-lang/[email protected] | |
- name: Install dependencies | |
run: dart pub get | |
working-directory: packages/${{ matrix.package_name }} | |
- name: Analyze | |
run: dart analyze | |
working-directory: packages/${{ matrix.package_name }} | |
- name: Run tests | |
run: dart run --enable-vm-service test/e2e_test.dart | |
working-directory: packages/${{ matrix.package_name }} | |
- name: Check format | |
run: dart format --set-exit-if-changed . | |
working-directory: packages/${{ matrix.package_name }} | |