Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 9 additions & 30 deletions .github/workflows/very_good_cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,36 +27,15 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v7

- uses: subosito/flutter-action@v2.8.0
with:
flutter-version: "3.44.x"

- name: Install Dependencies
run: flutter pub get

- name: Format
run: dart format --set-exit-if-changed lib test

- name: Analyze
run: flutter analyze lib test

- name: Verify Build
run: flutter pub run test --run-skipped -t pull-request-only

- name: Run Tests
run: |
flutter pub global activate coverage 1.15.0
flutter pub run test -j 1 -x pull-request-only -x e2e --coverage=coverage --test-randomize-ordering-seed random && dart pub global run coverage:format_coverage --lcov --in=coverage --out=coverage/lcov.info --packages=.dart_tool/package_config.json --report-on=lib

- name: Check Code Coverage
uses: VeryGoodOpenSource/very_good_coverage@v3.0.0
with:
exclude: "**/*.gen.dart"
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/flutter_package.yml@v1
with:
flutter_version: "3.44.x"
concurrency: 1
coverage_excludes: "**/*.gen.dart"
run_bloc_lint: false
run_skipped: true
runs_on: ${{ matrix.os }}
test_optimization: false

pana:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/pana.yml@v1
Expand Down
Loading