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

coverage boolean default false
workingDirectory string default .
Project sub-directory inside the repo.
testPath string default test
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.