You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After PR #425 was merged, flutter_package.yml@main now passes --report-on lib (and --show-uncovered) to very_good test. However, the workflow installs very_good_cli via:
dart pub global activate very_good_cli
The latest published version on pub.dev does not support the --report-on flag, causing all workflows pinned to @main to fail immediately with:
Could not find an option named "--report-on".
Error: Process completed with exit code 64.
Run very_good test -j 4 --optimization --coverage --min-coverage 100 --report-on lib --show-uncovered --test-randomize-ordering-seed random
Could not find an option named "--report-on".
Usage: very_good test [arguments]
...
Error: Process completed with exit code 64.
Workaround
Consumers can temporarily pin to a commit SHA before #425 was merged.
Suggested Fix
Pin the CLI install in the workflow to the version that includes --report-on once it is published:
Description
Body
Affected workflow:
.github/workflows/flutter_package.ymlIntroduced by: #425
Problem
After PR #425 was merged,
flutter_package.yml@mainnow passes--report-on lib(and--show-uncovered) tovery_good test. However, the workflow installsvery_good_clivia:dart pub global activate very_good_cliThe latest published version on pub.dev does not support the
--report-onflag, causing all workflows pinned to@mainto fail immediately with:Steps To Reproduce
Steps to Reproduce
Any repository using:
will fail on the test step after this PR was merged.
Expected Behavior
Expected Behavior
Either:
Additional Context
Actual Behavior
Workaround
Consumers can temporarily pin to a commit SHA before #425 was merged.
Suggested Fix
Pin the CLI install in the workflow to the version that includes
--report-ononce it is published:dart pub global activate very_good_cli <version>