Make sure that the controller actually works #29
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: Android Nightly | |
on: | |
push: | |
paths: | |
- 'android/**' | |
- 'lib/**' | |
- 'lang/**' | |
- 'fonts/**' | |
- 'pubspec*' | |
- 'pigeons/**' | |
- 'test/**' | |
- '.github/workflows/nightly.yml' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: dart-lang/setup-dart@v1.3 | |
- uses: actions/setup-java@v1 | |
with: | |
java-version: '12.x' | |
- run: dart pub global activate fvm | |
- run: fvm install | |
- run: fvm flutter pub get | |
- run: fvm flutter analyze | |
continue-on-error: true | |
- name: Flutter test | |
continue-on-error: true | |
run: fvm flutter test | |
- run: fvm flutter build apk --debug | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- uses: actions/upload-artifact@v1 | |
with: | |
name: debug-apk | |
path: build/app/outputs/apk/debug/app-debug.apk | |
- name: Upload golden failures | |
uses: actions/upload-artifact@v1 | |
with: | |
name: goldens-failures | |
path: test/components/failures/ |