feat: Add validation to non-interactive mode and better error messages #145
Workflow file for this run
This file contains hidden or 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: Test | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup Flutter | |
uses: subosito/flutter-action@v1 | |
with: | |
channel: 'beta' | |
- run: git clean -xffd # https://github.com/dart-lang/sdk/issues/39792 | |
- name: Setup BATS | |
uses: mig4/setup-bats@v1 | |
with: | |
bats-version: 1.2.1 | |
- name: Display versions | |
run: | | |
dart --version | |
flutter --version | |
- name: Run analysis and tests | |
run: | | |
dart pub get | |
./scripts/analyze.sh | |
(cd test ; ./run.sh) |