Graduate Flutter runtime lifecycle

This commit is contained in:
Meta Vens 2026-07-10 16:53:46 +01:00
commit 6830096e7a
3 changed files with 58 additions and 19 deletions

40
.github/workflows/runtime.yml vendored Normal file
View file

@ -0,0 +1,40 @@
name: EveFlutter runtime
on:
push:
workflow_dispatch:
permissions:
contents: read
jobs:
analyze-test-capture:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Install Flutter stable
shell: bash
run: |
git clone --depth 1 --branch stable https://github.com/flutter/flutter.git "$RUNNER_TEMP/flutter"
echo "$RUNNER_TEMP/flutter/bin" >> "$GITHUB_PATH"
- name: Resolve dependencies
run: flutter pub get
- name: Analyze
run: flutter analyze lib test
- name: Test responsive runtime captures
run: flutter test
- name: Verify lifecycle
shell: pwsh
run: .\scripts\run-eveflutter-lifecycle-smoke.ps1 -SkipAnalyze
- name: Upload golden captures
uses: actions/upload-artifact@v7
with:
name: eveflutter-captures-${{ github.sha }}
path: test/goldens/*.png
if-no-files-found: error