Skip to content

feat: break out smoke test goldens into directories based on flutter version #184

feat: break out smoke test goldens into directories based on flutter version

feat: break out smoke test goldens into directories based on flutter version #184

Workflow file for this run

name: alchemist
on: [pull_request]
env:
FLUTTER_VERSION: 3.16.0
jobs:
analyze:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
channel: 'stable'
cache: true
- name: Install Dependencies
run: flutter packages get
- name: Format
run: dart format --set-exit-if-changed .
- name: Analyze project source
uses: invertase/github-action-dart-analyzer@v1
- uses: codecov/codecov-action@v2
with:
files: coverage/lcov.info
test:
runs-on: ubuntu-latest
strategy:
matrix:
fail-fast: false

Check failure on line 38 in .github/workflows/main.yaml

View workflow run for this annotation

GitHub Actions / alchemist

Invalid workflow file

The workflow is not valid. .github/workflows/main.yaml (Line: 38, Col: 20): Unexpected value 'false'
flutter-version: ['3.16.9', '3.19.6', '3.22.3', '3.24.3']
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: ${{ matrix.flutter-version }}
channel: 'stable'
cache: true
- name: Run tests
run: ALCHEMIST_FLUTTER_VERSION=${{ matrix.flutter-version }} flutter test --no-pub --coverage --test-randomize-ordering-seed=random
- name: Upload failures
if: failure()
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
with:
name: "golden_failures_${{ matrix.flutter-version }}"
path: |
**/failures/**/*.png
pana:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.16.0'
channel: 'stable'
cache: true
- name: Install Dependencies
run: |
flutter packages get
flutter pub global activate pana
- name: Verify Pub Score
run: ./tool/verify_pub_score.sh 130