-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (34 loc) · 895 Bytes
/
test.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
42
name: Flutter Unit Tests
defaults:
run:
working-directory: packages/tide_kit
on:
workflow_dispatch:
push:
branches:
- '**'
pull_request:
branches:
- '**'
jobs:
test:
strategy:
matrix:
flutter-version: ['3.24.0', '3.24.5', '3.27.1']
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
if: always()
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Flutter ${{ matrix.flutter-version }}
uses: subosito/flutter-action@v2
with:
flutter-version: '${{ matrix.flutter-version }}'
channel: 'stable'
- name: Install dependencies
run: flutter pub get
- name: Analyze
run: flutter analyze
- name: Run unit and widget tests
run: flutter test --coverage --coverage-path=lcov.info