Skip to content

Merge pull request #46 from bluefireteam/feat/open-with-colors #90

Merge pull request #46 from bluefireteam/feat/open-with-colors

Merge pull request #46 from bluefireteam/feat/open-with-colors #90

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