-
Notifications
You must be signed in to change notification settings - Fork 26
41 lines (40 loc) · 1.04 KB
/
pull-android.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
name: Check Android PR
on:
pull_request:
paths:
- 'android/**'
- 'lib/**'
- 'lang/**'
- 'fonts/**'
- 'pubspec*'
- 'pigeons/**'
- 'test/**'
- '.github/workflows/pull-android.yml'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
submodules: 'recursive'
- uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'zulu'
- uses: dart-lang/setup-dart@v1.4
- run: dart pub global activate fvm
- run: fvm install
- run: fvm flutter pub get
- run: fvm flutter analyze
continue-on-error: true
- name: Flutter test
run: fvm flutter test
- run: fvm flutter build apk --debug
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload golden failures
uses: actions/upload-artifact@v4
with:
name: goldens-failures
path: test/components/failures/
if-no-files-found: 'ignore'
continue-on-error: true