-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (33 loc) · 980 Bytes
/
test.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
name: Test
on:
push:
branches: [ master, test/**, fix/** ]
pull_request:
branches: [ master, test/**, fix/** ]
jobs:
test:
name: "${{ matrix.os }}"
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
sdk: [ stable ]
steps:
- uses: actions/checkout@v2
- uses: dart-lang/setup-dart@v1
with:
sdk: ${{ matrix.sdk }}
- name: Install dependencies
run: dart pub get
- name: Verify formatting
run: dart format --output=none --set-exit-if-changed lib/ test/
- name: Analyze project source
run: dart analyze
- name: Generate base library code
run: dart scripts/regenerate_base_classes.dart
- name: Generate localized FakeCollection
run: dart scripts/generate_all.dart
- name: Generate tests
run: dart scripts/create_tests.dart
- name: Run tests
run: dart test --chain-stack-traces