-
Notifications
You must be signed in to change notification settings - Fork 14
44 lines (34 loc) · 982 Bytes
/
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
name: CI
on:
push:
pull_request:
schedule:
- cron: "0 10 * * *"
jobs:
flutter:
name: ${{ matrix.package_name }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
package_name:
- interactive
os:
- ubuntu-latest
- macos-latest
- windows-latest
steps:
- uses: actions/checkout@v3
- uses: dart-lang/[email protected]
- name: Install dependencies
run: dart pub get
working-directory: packages/${{ matrix.package_name }}
- name: Analyze
run: dart analyze
working-directory: packages/${{ matrix.package_name }}
- name: Run tests
run: dart run --enable-vm-service test/e2e_test.dart
working-directory: packages/${{ matrix.package_name }}
- name: Check format
run: dart format --set-exit-if-changed .
working-directory: packages/${{ matrix.package_name }}