Skip to content

Update bug_report.yaml #15

Update bug_report.yaml

Update bug_report.yaml #15

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
check:
# the golden images were generated on MacOS, therefore the tests must run on MacOS
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v1
with:
channel: beta
- run: flutter format -n --set-exit-if-changed .
- run: flutter analyze
- run: flutter test --coverage
- uses: codecov/codecov-action@v2.1.0
build:
needs: check
strategy:
fail-fast: false
matrix:
os: [macOS-latest, ubuntu-latest, windows-latest]
flutter_channel: [beta]
include:
- os: macOS-latest
flutter_build: ios --no-codesign
- os: ubuntu-latest
flutter_build: apk
- os: windows-latest
flutter_build: apk
env:
GRADLE_OPTS: -Dorg.gradle.daemon=false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v1
with:
channel: ${{ matrix.flutter_channel }}
- working-directory: example
run: flutter build ${{ matrix.flutter_build }} --debug