Skip to content

refactor: remove coverage action in favor of CLI#425

Draft
marcossevilla wants to merge 6 commits intomainfrom
refactor/remove-vgc
Draft

refactor: remove coverage action in favor of CLI#425
marcossevilla wants to merge 6 commits intomainfrom
refactor/remove-vgc

Conversation

@marcossevilla
Copy link
Member

@marcossevilla marcossevilla commented Mar 5, 2026

Status

TESTING

Description

Replacing Very Good Coverage with Very Good CLI

This update removes the separate very_good_coverage GitHub Action and consolidates test execution + coverage enforcement into a single step powered by the Very Good CLI.

What changed

  • The "Run Tests" and "Check Code Coverage" steps are now a single step. The CLI handles testing, coverage collection, and coverage enforcement all at once.
  • The CLI is installed from Git during the testing phase (temporary — will switch to pub.dev once the required CLI version is published).

How to test

Point your workflow reference to this branch:

Before

uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/dart_package.yml@v1
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/flutter_package.yml@v1

After (for testing)

uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/dart_package.yml@refactor/remove-vgc
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/flutter_package.yml@refactor/remove-vgc

Type of Change

  • ✨ New feature (non-breaking change which adds functionality)
  • 🛠️ Bug fix (non-breaking change which fixes an issue)
  • ❌ Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 Code refactor
  • ✅ Build configuration change
  • 📝 Documentation
  • 🗑️ Chore

- name: 📦 Install Dependencies
run: dart pub get ${{(inputs.no_example && '--no-example') || ''}}
run: |
dart pub global activate --source git https://github.com/VeryGoodOpenSource/very_good_cli.git
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will update with official very_good_cli version when VeryGoodOpenSource/very_good_cli#1514 lands

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Needs Triage

Development

Successfully merging this pull request may close these issues.

2 participants