Skip to content

Refactor repo

Refactor repo #20

Workflow file for this run

name: Test
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
workflow_dispatch:
pull_request:
branches: ["main"]
types: [opened, synchronize, reopened, ready_for_review]
jobs:
spell-check:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/spell_check.yml@v1
with:
includes: "*.md"
modified_files_only: true
test:
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
steps:
- name: 📚 Git Checkout
uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
- name: Build and Test
working-directory: packages/lite_ref
run: |
flutter pub get
flutter analyze
flutter test --coverage
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: ./coverage/lcov.info
flags: unittests