mirror of
https://github.com/kuhyx/utils.git
synced 2026-11-10 17:47:24 +01:00
Save-as on mobile (SAF), save dialog on desktop, download on web; versioned envelope helper. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WzxdWXTUM9dpnCS2wtFkx4
37 lines
755 B
YAML
37 lines
755 B
YAML
name: data_transfer_flutter tests
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
paths: ['data_transfer_flutter/**']
|
|
pull_request:
|
|
branches: [main]
|
|
paths: ['data_transfer_flutter/**']
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
defaults:
|
|
run:
|
|
working-directory: data_transfer_flutter
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Set up Flutter
|
|
uses: subosito/flutter-action@v2
|
|
with:
|
|
channel: stable
|
|
|
|
- name: Install dependencies
|
|
run: flutter pub get
|
|
|
|
- name: Analyze
|
|
run: flutter analyze
|
|
|
|
- name: Run tests with coverage
|
|
run: flutter test --coverage
|
|
|
|
- name: Enforce 100% line coverage
|
|
run: scripts/check_coverage.sh coverage/lcov.info 100
|