40 lines
1,005 B
YAML
40 lines
1,005 B
YAML
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 and generate Linux runtime captures
|
|
run: flutter test --update-goldens
|
|
|
|
- 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-linux-captures-${{ github.sha }}
|
|
path: test/goldens/*.png
|
|
if-no-files-found: error
|