-
-
Notifications
You must be signed in to change notification settings - Fork 52
63 lines (60 loc) · 2.22 KB
/
flutter-matrix-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name: Flutter Matrix Test
on:
push:
branches:
- '**'
jobs:
test:
name: Matrix Test on Linux
runs-on: ubuntu-latest
steps:
- name: Update apt-get
run: sudo apt-get update
- name: Install libraries
run: sudo apt-get install libgtk-3-dev cmake libolm3 cmake-doc ninja-build libsecret-1-dev libjsoncpp-dev libsecret-1-0 sqlite3 libsqlite3-dev keybinder-3.0 network-manager mpv libmpv-dev
- uses: actions/checkout@v3
- 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/[email protected]
with:
cwd: "integration_test/docker"
- name: Run Matrix integration test
uses: GabrielBB/[email protected]
env:
SLOW_NETWORK: false
with:
working-directory: ./integration_test
run: |
./setup_toxiproxy_docker.sh
./run_matrix_tests.sh
test_degraded_network:
name: Matrix Test on Linux with degraded network
runs-on: ubuntu-latest
steps:
- name: Update apt-get
run: sudo apt-get update
- name: Install libraries
run: sudo apt-get install libgtk-3-dev cmake libolm3 cmake-doc ninja-build libsecret-1-dev libjsoncpp-dev libsecret-1-0 sqlite3 libsqlite3-dev keybinder-3.0 network-manager mpv libmpv-dev
- uses: actions/checkout@v3
- 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/[email protected]
with:
cwd: "integration_test/docker"
- name: Run Matrix integration test
uses: GabrielBB/[email protected]
env:
SLOW_NETWORK: true
with:
working-directory: ./integration_test
run: |
./setup_toxiproxy_docker.sh
./run_matrix_tests.sh