mirror of
https://github.com/kuhyx/utils.git
synced 2026-11-21 00:12:31 +01:00
Flutter plugin over AOSP LocationManager (androidx LocationManagerCompat): permission check/request, location switch, one-shot fix and a fix stream. Replaces geolocator in umbrella and workout_app, whose Android side links non-free play-services-location even with forceLocationManager. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
37 lines
739 B
YAML
37 lines
739 B
YAML
name: platform_location tests
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
paths: ['platform_location/**']
|
|
pull_request:
|
|
branches: [main]
|
|
paths: ['platform_location/**']
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
defaults:
|
|
run:
|
|
working-directory: platform_location
|
|
|
|
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
|