forked from pinkfish/flutter_native_timezone
-
Notifications
You must be signed in to change notification settings - Fork 37
45 lines (41 loc) · 982 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
43
44
45
name: Test
on:
push:
branches:
- main
- ci-*
pull_request:
jobs:
test:
name: Test on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
with:
java-version: '12.x'
- uses: subosito/flutter-action@v1
with:
channel: 'stable'
- run: dart --version
- run: flutter --version
- run: flutter pub get
- run: flutter test
- run: flutter test
working-directory: example
integration-test-windows:
name: 'Integration Test on windows-latest'
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: stable
- name: run integration test
run: .\run_integration_test_windows.ps1
working-directory: example