Skip to content

fix: correct flutter test command and add apk build step #3

fix: correct flutter test command and add apk build step

fix: correct flutter test command and add apk build step #3

Workflow file for this run

name: Flutter CI
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
jobs:
build:
name: Build & Verify
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
channel: "stable"
cache: true
- name: Install Dependencies
run: flutter pub get
- name: Static Analysis
run: flutter analyze --fatal-warnings
- name: Run Unit Tests
run: flutter test
- name: Build Release APK
run: flutter build apk --release