Created
October 17, 2019 06:22
-
-
Save tianhaoz95/686c388b389577aebaf6c04ae2e7f8bd to your computer and use it in GitHub Desktop.
Flutter checkin checks
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: Checkin checks | |
on: | |
push: | |
branches: | |
- "master" | |
- "dev/*" | |
paths: | |
- "iwfpapp/**" | |
- ".github/**" | |
pull_request: | |
branches: | |
- "master" | |
- "dev/*" | |
schedule: | |
- cron: 0 2 * * * | |
jobs: | |
test: | |
name: Test on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macOS-latest] | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-java@v1 | |
with: | |
java-version: '12.x' | |
- uses: subosito/flutter-action@v1 | |
with: | |
flutter-version: '1.9.1+hotfix.2' | |
channel: 'stable' | |
- run: cd ./iwfpapp && flutter pub get | |
- run: cd ./iwfpapp && flutter analyze | |
- run: cd ./iwfpapp && flutter test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment