Run Flutter CI (analyze & test) for OpenCI workflows.
steps:
- uses: actions/checkout@v4
- uses: open-ci-io/flutter-setup@v1
with:
flutter-version: "3.29.2"
- uses: open-ci-io/flutter-ci@v1 - uses: open-ci-io/flutter-ci@v1
with:
working-directory: "app"
test-args: "--coverage" - uses: open-ci-io/flutter-ci@v1
with:
analyze: "false"| Input | Description | Default |
|---|---|---|
analyze |
Run flutter analyze |
true |
test |
Run flutter test |
true |
working-directory |
Working directory for the Flutter project | . |
test-args |
Additional arguments for flutter test |
`` |
flutter pub getflutter analyze(optional)flutter test(optional)
MIT