-
-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: run Matrix integraation test on macOS runner
- Loading branch information
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Flutter Matrix Test macOS | ||
|
||
on: | ||
push: | ||
branches: | ||
- '**' | ||
|
||
jobs: | ||
test: | ||
name: Flutter Matrix Test on macOS | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Docker | ||
uses: crazy-max/ghaction-setup-docker@v3 | ||
env: | ||
LIMA_START_ARGS: --cpus 4 --memory 8 | ||
- 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 }} | ||
- uses: hoverkraft-tech/compose-action@v2.0.0 | ||
with: | ||
cwd: "integration_test/docker" | ||
- name: Run Matrix integration test | ||
uses: GabrielBB/xvfb-action@v1.6 | ||
with: | ||
working-directory: ./integration_test | ||
run: ./run_matrix_tests.sh |