Trying stackoverflow answer #235
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 Tests | |
on: [push, workflow_dispatch] | |
jobs: | |
drive: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: 'stable' | |
flutter-version: '3.16.9' # Specify the Flutter version explicitly | |
- name: Install dependencies | |
run: flutter pub get | |
- name: Run Build_Runner | |
run: flutter pub run build_runner build --delete-conflicting-outputs | |
- name: Run Flutter Tests | |
run: flutter test |