-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (36 loc) · 919 Bytes
/
unittest.yml
File metadata and controls
43 lines (36 loc) · 919 Bytes
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
# https://github.com/dart-lang/setup-dart
name: unittest
on:
push:
branches: [master]
paths-ignore:
- 'example/*'
- '**.md'
- '**.txt'
pull_request:
branches: [master]
paths-ignore:
- 'example/*'
- '**.md'
- '**.txt'
jobs:
test:
timeout-minutes: 5
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest, windows-latest] # [ubuntu-latest, macos-latest, windows-latest]
sdk: [2.12.0] # dart is null-safe since 2.12
#platform: [node, vm, chrome]
#sdk: [stable, beta, dev, 2.12.0-29.10.beta]
steps:
- uses: actions/checkout@v2
# - uses: actions/setup-node@v2
- uses: dart-lang/setup-dart@v1
with:
sdk: ${{ matrix.sdk }}
- name: Install dependencies
run: dart pub get
- name: Tests
run: dart test