Skip to content

Add ScopedAsyncRef. #42

Add ScopedAsyncRef.

Add ScopedAsyncRef. #42

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 Core
working-directory: packages/lite_ref_core
run: |
flutter pub get
flutter analyze
flutter test --coverage
- name: Build and Test Flutter
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: ./packages/lite_ref/coverage/lcov.info
flags: unittests