Run Tests
flightstack/test@1.0.0 Step Verified Run flutter test (optionally with coverage).
Add it to a pipeline
jobs:
- id: test
uses: flightstack/test@1.0.0 Or drag it onto the canvas from the step palette in the visual editor. Pin an exact version for production pipelines.
Inputs
-
coverageboolean defaultfalse -
workingDirectorystring default. - Project sub-directory inside the repo.
-
testPathstring defaulttest - Path or glob passed to
flutter test. Defaults to the entire test/ directory.
Outputs
coveragePathartifact- Path to lcov.info (empty when coverage is false).
passedCountinteger- Number of tests reported as passed.