-
Notifications
You must be signed in to change notification settings - Fork 0
60 lines (47 loc) · 1.3 KB
/
ci-waydowntown-app.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
name: waydowntown_app checks
on:
push:
branches:
- main
pull_request:
paths:
- "waydowntown_app/**"
- ".github/workflows/ci-waydowntown-app.yml"
jobs:
test-ios:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v4
- uses: futureware-tech/simulator-action@v3
with:
model: "iPhone 14"
- uses: subosito/flutter-action@v2
with:
channel: "stable"
# Create asset file in .gitignore
- run: touch .env.local
working-directory: waydowntown_app
- run: flutter pub get
working-directory: waydowntown_app
- run: flutter test
working-directory: waydowntown_app
test-android:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: "stable"
# Create asset file in .gitignore
- run: touch .env.local
working-directory: waydowntown_app
- run: flutter pub get
working-directory: waydowntown_app
- name: Run integration tests
uses: reactivecircus/android-emulator-runner@v2
with:
working-directory: waydowntown_app
api-level: 21
arch: x86_64
profile: Nexus 6
script: flutter test --verbose