Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gradle-coveralls 1.0.0 #262

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions steps/gradle-coveralls/1.0.0/step.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
title: Gradle Coveralls
summary: Runs Coveralls with `./gradlew`.
description: Sends code coverage to www.coveralls.io. Uses `./gradlew coveralls` task.
You have to configure [org.kt3k.gradle.plugin:coveralls-gradle-plugin](https://github.com/kt3k/coveralls-gradle-plugin)
in your project first.
website: https://github.com/donvigo/steps-gradle-coveralls
source_code_url: https://github.com/donvigo/steps-gradle-coveralls
support_url: https://github.com/donvigo/steps-gradle-coveralls/issues
published_at: 2016-01-17T16:15:27.886621568+02:00
source:
git: https://github.com/donvigo/steps-gradle-coveralls.git
commit: bb3a506e707f1990c914c2a0e351ab2d251b29fa
host_os_tags:
- ubuntu
project_type_tags:
- android
type_tags:
- coveralls
- gradle
is_requires_admin_user: false
is_always_run: false
is_skippable: true
inputs:
- gradlew_file_path: ./gradlew
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could set the default value to $GRADLEW_PATH, as you can see it in our Gradle Runner step ( https://github.com/bitrise-io/steps-gradle-runner/blob/master/step.yml#L55 ). This Env Var is configured automatically when you add a new Android project on bitrise.io, so that a user doesn't have to set the path of gradlew for every gradle step.

opts:
description: |
Path for the gradlew file
is_expand: false
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should set is_expand to true, so that the value can be an Environment Variable (like $GRADLEW_PATH).

is_required: true
title: Path for the gradlew file
- coveralls_task: coveralls
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this input required? Is there a case when the user would like to change this to something else?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For now, only one coveralls Gradle task exists, but probably will appear alternative realisations. I prefer to have as many customisation points as possible :)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair enough, I wasn't aware that it might change in the future :)

opts:
description: |
The coveralls task to execute by gradlew
is_expand: false
is_required: true
title: “Coveralls gradle task"