Create web_build.yml #28
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: Run Flutter Test before merging PR | |
on: | |
pull_request: | |
branches: [main] | |
jobs: | |
analyze: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2.3.4 | |
- uses: subosito/flutter-action@v1 | |
with: | |
channel: "stable" | |
- name: "Analyze" | |
run: flutter pub get && flutter analyze . | |
- name: "Run tests" | |
run: flutter test -r expanded |