Skip to content

Delete analysis_options.yaml #171

Delete analysis_options.yaml

Delete analysis_options.yaml #171

name: On Pull Request
on:
push:
branches: [main]
pull_request:
branches:
- "*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: "stable"
- name: Install dependencies
run: flutter pub get
- name: Format
run: dart format --set-exit-if-changed lib test example
- name: Analyzing project
run: flutter analyze
- name: Run tests
run: flutter test --no-pub --coverage --test-randomize-ordering-seed random
- name: Check Code Coverage
uses: VeryGoodOpenSource/[email protected]
with:
path: coverage/lcov.info
min_coverage: 90
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}