-
Notifications
You must be signed in to change notification settings - Fork 17
63 lines (49 loc) · 1.39 KB
/
build-test.yml
File metadata and controls
63 lines (49 loc) · 1.39 KB
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
name: Execute Tests
on:
workflow_dispatch:
# pull_request:
# types: [opened, reopened]
jobs:
android:
runs-on: macos-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Install Melos
run: dart pub global activate melos
- name: run tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 29
timeout-minutes: 100
- name: Run Integration Tests
timeout-minutes: 100
run: melos exec --fail-fast -- "flutter test integration_test --verbose"
# test:
# timeout-minutes: 100
# name: Execute Tests
# strategy:
# matrix:
# device:
# - iPhone 14 Pro Max
# fail-fast: true
# runs-on: macos-latest
# steps:
# - name: Checkout Code
# uses: actions/checkout@v3
# - name: Setup Flutter SDK
# uses: subosito/flutter-action@v2
# with:
# channel: 'stable'
# - name: Pub Upgrade
# run: flutter pub upgrade
# # - name: Run Unit Tests / Widget Tests
# # run: flutter test
# - name: Start iOS Simulator
# id: simulator
# uses: futureware-tech/simulator-action@v2
# with:
# model: ${{ matrix.device }}
# - name: Run Integration Tests
# timeout-minutes: 100
# run: flutter test integration_test --verbose -d ${{steps.simulator.outputs.udid}}