fix(mix_generator): allow plain MixableSpec widget targets (#1025) #3376
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test Workflow | |
| on: | |
| push: | |
| branches: [main, next] | |
| paths-ignore: | |
| - 'assets/**' | |
| - 'tool/**' | |
| pull_request: | |
| branches: [main, next] | |
| paths-ignore: | |
| - 'test_resources/**' | |
| - 'assets/**' | |
| - 'tool/**' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| format: | |
| name: Format Check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: kuhnroyal/flutter-fvm-config-action@v2 | |
| id: fvm-config-action | |
| - uses: subosito/flutter-action@v2 | |
| with: | |
| flutter-version: ${{ steps.fvm-config-action.outputs.FLUTTER_VERSION }} | |
| channel: ${{ steps.fvm-config-action.outputs.FLUTTER_CHANNEL }} | |
| - name: Setup Melos | |
| run: | | |
| dart pub global activate melos 6.3.3 | |
| melos bootstrap | |
| - name: Check formatting | |
| run: melos run format:check | |
| test: | |
| name: Test / Run tests for all packages | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: kuhnroyal/flutter-fvm-config-action@v2 | |
| id: fvm-config-action | |
| - uses: subosito/flutter-action@v2 | |
| with: | |
| flutter-version: ${{ steps.fvm-config-action.outputs.FLUTTER_VERSION }} | |
| channel: ${{ steps.fvm-config-action.outputs.FLUTTER_CHANNEL }} | |
| - name: Setup Melos | |
| run: | | |
| dart pub global activate melos 6.3.3 | |
| melos bootstrap | |
| # DCM requires CI credentials; this job still runs all Dart analysis. | |
| - name: Verify schema inventories | |
| run: melos run schema:inventory | |
| - name: Analyze | |
| run: melos run analyze:dart | |
| - name: Test | |
| run: melos run ci | |
| showcase-tool: | |
| name: Showcase Tool Tests | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: packages/mix_winds/tool/visual-comparison | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: npm | |
| cache-dependency-path: packages/mix_winds/tool/visual-comparison/package-lock.json | |
| - name: Install Node dependencies | |
| run: npm ci | |
| - name: Install Chromium | |
| run: npx playwright install --with-deps chromium | |
| - name: Run showcase tool tests | |
| run: npm test |