-
Notifications
You must be signed in to change notification settings - Fork 89
60 lines (56 loc) · 1.42 KB
/
reactive_forms.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
name: reactive_forms
on:
# Trigger the workflow on push
# but only for the master branch
push:
branches:
- master
- develop
- "feature/**"
pull_request:
branches:
- master
- develop
jobs:
test:
# Job name is Running Tests
name: Tests
# This job runs on Linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: "3.16.0"
channel: "stable"
- run: flutter pub get
- run: flutter test --no-pub --coverage
- run: bash <(curl -s https://codecov.io/bash) -t d5f3f780-d3d4-4c7c-997b-31f1f7620eba
analyze:
name: Analyze
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: "3.16.0"
channel: "stable"
- run: flutter pub get
- name: Analyze lib
run: flutter analyze lib
- name: Analyze test
run: flutter analyze test
format:
name: Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: "3.16.0"
channel: "stable"
- run: flutter pub get
- name: Format lib
run: dart format lib --set-exit-if-changed
- name: Format test
run: dart format test --set-exit-if-changed