Merge branch 'v1-move-update-behavior' into v1-align-margin #107
Workflow file for this run
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: macOS Integration Tests | |
| on: | |
| push: | |
| paths: | |
| - 'sdk/python/packages/flet/src/**' | |
| - 'sdk/python/packages/flet/integration_tests/**' | |
| - 'packages/flet/**' | |
| - 'client/**' | |
| pull_request: | |
| paths: | |
| - 'sdk/python/packages/flet/src/**' | |
| - 'sdk/python/packages/flet/integration_tests/**' | |
| - 'packages/flet/**' | |
| - 'client/**' | |
| # Ensure only one run per branch (PR or push), cancel older ones | |
| concurrency: | |
| group: macos-integration-tests-${{ github.workflow }}-${{ github.event.pull_request.head.ref || github.ref_name }} | |
| cancel-in-progress: true | |
| env: | |
| FLET_TEST_SCREENSHOTS_PIXEL_RATIO: "2.0" | |
| FLET_TEST_SCREENSHOTS_SIMILARITY_THRESHOLD: "99.0" | |
| FLET_TEST_DISABLE_FVM: "1" | |
| jobs: | |
| test-macos: | |
| runs-on: macos-14 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Configure FVM | |
| uses: kuhnroyal/flutter-fvm-config-action/config@v3 | |
| id: fvm-config-action | |
| with: | |
| path: 'client/.fvmrc' | |
| - name: Setup Flutter | |
| uses: subosito/flutter-action@v2 | |
| with: | |
| flutter-version: ${{ steps.fvm-config-action.outputs.FLUTTER_VERSION }} | |
| channel: ${{ steps.fvm-config-action.outputs.FLUTTER_CHANNEL }} | |
| cache: true | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| - name: Show tool versions | |
| run: | | |
| python3 --version && uv --version && pod --version && flutter --version | |
| - name: Run integration tests | |
| working-directory: sdk/python | |
| run: | | |
| uv run pytest -s -o log_cli=true -o log_cli_level=INFO packages/flet/integration_tests | |
| - name: Upload failure screenshots | |
| if: failure() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: integration-test-failures-macos | |
| path: sdk/python/packages/flet/integration_tests/**/*_actual.png | |
| if-no-files-found: ignore |