-
Notifications
You must be signed in to change notification settings - Fork 50
44 lines (33 loc) · 927 Bytes
/
build.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
name: Build
on:
push:
pull_request:
schedule:
# runs the CI everyday at 10AM
- cron: "0 10 * * *"
jobs:
quill_markdown_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v1
with:
channel: 'stable'
- name: Install Dependencies
run: flutter pub get
- name: Format
run: dart format --set-exit-if-changed .
- name: Analyze
run: flutter analyze --fatal-warnings --no-fatal-infos .
- uses: stelynx/[email protected]
with:
package: markdown_quill
- name: Run Tests
run: flutter test --coverage .
- uses: VeryGoodOpenSource/[email protected]
with:
path: './coverage/lcov.info'
min_coverage: 90
- uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}