Skip to content
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.

chore: initialize integration test using uuv_flutter, #3 #13

chore: initialize integration test using uuv_flutter, #3

chore: initialize integration test using uuv_flutter, #3 #13

Workflow file for this run

name: Build app
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
- name: Build apk
run: flutter build apk --debug
- name: Upload APK
uses: actions/upload-artifact@v4
with:
name: app_debug
path: build/app/outputs/flutter-apk/app-debug.apk
integration-tests:
runs-on: ubuntu-latest
needs: [ build ]
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
- name: Retrieve dependencies
run: dart pub get
- name: Generate tests
run: dart run build_runner build --delete-conflicting-outputs
- name: Execute integration tests
run: flutter test integration_test