-
Notifications
You must be signed in to change notification settings - Fork 23
45 lines (35 loc) · 1.06 KB
/
ci.yaml
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
name: CI
on:
schedule:
# “At 00:00 (UTC) on Sunday.”
- cron: '0 0 * * 0'
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: clone the repo
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
- name: install Flutter sdk
uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa
with:
channel: 'master'
- name: version
run: flutter --version
- name: analyze
run: sh ./tool/analyze.sh
- name: dart release test
run: dart test test/release
working-directory: pkgs/leak_tracker
- name: dart debug test
run: dart test test/debug --debug
working-directory: pkgs/leak_tracker
- name: flutter test
run: flutter test
working-directory: pkgs/leak_tracker_flutter_test
- name: integration test
run: flutter test integration_test/app_test.dart -d flutter-tester
working-directory: examples/autosnapshotting