update: add app color #159
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 Unit Test | |
on: push | |
jobs: | |
unit: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Create .env file | |
run: cp -pr .env.example .env | |
- name: Install Flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
channel: 'stable' | |
cache: true | |
flutter-version: 3.7.12 | |
- name: Run flutter pub get | |
run: flutter pub get | |
- name: Build runner | |
run: flutter pub pub run build_runner build --delete-conflicting-outputs | |
- name: Run flutter test | |
run: flutter test |