Skip to content

Commit af13095

Browse files
committed
ci: run Matrix integration test in GitHub Actions
1 parent ba77d0e commit af13095

File tree

5 files changed

+34
-6
lines changed

5 files changed

+34
-6
lines changed

.github/workflows/archive/build-android.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: macOS-latest
88
if: github.ref == 'refs/heads/master'
99
steps:
10-
- uses: actions/checkout@v1
10+
- uses: actions/checkout@v3
1111
with:
1212
fetch-depth: 1
1313
- name: Prepare java

.github/workflows/archive/release.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
lein: 2.9.1
2222
- name: Check leiningen version
2323
run: lein -v
24-
- uses: actions/checkout@v1
24+
- uses: actions/checkout@v3
2525
with:
2626
fetch-depth: 1
2727
- uses: actions/setup-node@v1
@@ -44,7 +44,7 @@ jobs:
4444
name: Build & Release macOS
4545
runs-on: macOS-latest
4646
steps:
47-
- uses: actions/checkout@v1
47+
- uses: actions/checkout@v3
4848
with:
4949
fetch-depth: 1
5050
- name: Retrieve certificate
@@ -98,7 +98,7 @@ jobs:
9898
name: Build & Release Windows
9999
runs-on: windows-latest
100100
steps:
101-
- uses: actions/checkout@v1
101+
- uses: actions/checkout@v3
102102
with:
103103
fetch-depth: 1
104104
- name: Prepare java

.github/workflows/archive/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
lein: 2.9.1
2323
- name: Check leiningen version
2424
run: lein -v
25-
- uses: actions/checkout@v1
25+
- uses: actions/checkout@v3
2626
with:
2727
fetch-depth: 1
2828
- uses: actions/setup-node@v1

.github/workflows/archive/testflight-ios.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: macOS-latest
88
if: github.ref == 'refs/heads/ios-release'
99
steps:
10-
- uses: actions/checkout@v1
10+
- uses: actions/checkout@v3
1111
with:
1212
fetch-depth: 1
1313
- uses: webfactory/[email protected]
+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Flutter Matrix Test
2+
3+
on:
4+
push:
5+
branches:
6+
- '**'
7+
8+
jobs:
9+
test:
10+
name: Flutter Matrix Test on Linux
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Update apt-get
14+
run: sudo apt-get update
15+
- name: Install libraries
16+
run: sudo apt-get install network-manager mpv libmpv-dev
17+
- uses: actions/checkout@v3
18+
- uses: kuhnroyal/flutter-fvm-config-action@v2
19+
id: fvm-config-action
20+
- uses: subosito/flutter-action@v2
21+
with:
22+
flutter-version: ${{ steps.fvm-config-action.outputs.FLUTTER_VERSION }}
23+
channel: ${{ steps.fvm-config-action.outputs.FLUTTER_CHANNEL }}
24+
- uses: hoverkraft-tech/compose-action@v2
25+
with:
26+
cwd: "integration_test/docker"
27+
- name: Run Matrix integration test
28+
run: ./integration_test/run_matrix_tests.sh

0 commit comments

Comments
 (0)