-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (37 loc) · 1.12 KB
/
mini_sprite_editor.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
name: mini_sprite_editor
on:
push:
branches:
- main
paths:
- .github/workflows/mini_sprite_editor.yaml
- packages/mini_sprite_editor/**
pull_request:
branches:
- main
paths:
- .github/workflows/mini_sprite_editor.yaml
- packages/mini_sprite_editor/**
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
cache: true
- uses: bluefireteam/melos-action@main
- name: Install Dependencies
run: melos bootstrap
- name: Format
run: melos exec --scope mini_sprite_editor dart format --set-exit-if-changed lib
- name: Analyze
run: melos exec --scope mini_sprite_editor flutter analyze --fatal-infos --fatal-warnings .
- name: Run Tests
run: melos exec --scope mini_sprite_editor flutter test --coverage
- name: Check Code Coverage
uses: VeryGoodOpenSource/very_good_coverage@v1
with:
path: packages/mini_sprite_editor/coverage/lcov.info
min_coverage: 50