-
Notifications
You must be signed in to change notification settings - Fork 77
46 lines (43 loc) · 1.16 KB
/
main.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
46
name: tests
on:
push:
pull_request:
jobs:
tests:
strategy:
matrix:
flutter-version: ["2.10.5", "3.0.5", "3.3.2", "stable"]
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./in_app_review
steps:
- uses: actions/checkout@v2
- uses: britannio/action-install-flutter@v1
with:
version: ${{ matrix.flutter-version }}
- name: Get dependencies
run: flutter pub get
- name: Static Analysis
run: flutter analyze --no-pub
- name: Run Tests
run: flutter test --no-pub
platform_interface_tests:
strategy:
matrix:
flutter-version: ["2.10.5", "3.0.5", "3.3.2", "stable"]
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./in_app_review_platform_interface
steps:
- uses: actions/checkout@v2
- uses: britannio/action-install-flutter@v1
with:
version: ${{ matrix.flutter-version }}
- name: Get dependencies
run: flutter pub get
- name: Static Analysis
run: flutter analyze --no-pub
- name: Run Tests
run: flutter test --no-pub