Skip to content

feat(dart_package): allow run skipped tests #150

@alestiago

Description

@alestiago

Description

As a developer I will sometimes have some tests that I skip locally but run in CI. The Dart CLI exposes a "run-skipped" parameter that allows doing so, however the dart_package doesn't use the parameter, see:

dart test -j ${{inputs.concurrency}} --coverage=coverage --platform=${{inputs.platform}} && dart pub global run coverage:format_coverage --lcov ${{(inputs.check_ignore && '--check-ignore') || ''}} --in=coverage --out=coverage/lcov.info --packages=.dart_tool/package_config.json --report-on=${{inputs.report_on}}

I would like to have a new parameter "run-skipped" that is set to false by default and can be enabled by the user.

The flutter_package workflow can also benefit of this change.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions