79 fix widgetbook error and deploy to firebase #69
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: Flutter Testing | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: 'stable' | |
- name: install sql | |
run: sudo apt-get install sqlite3 libsqlite3-dev | |
- name: Install packages | |
run: flutter pub get | |
- name: Check Flutter version | |
run: flutter --version | |
- name: Run generator | |
run: flutter pub run build_runner build | |
- name: Run test | |
run: flutter test test |