Skip to content

Support running as a rake task without failing on error (ie: report-only) #241

Description

@jasonkarns

Is there a way to run the rake task in a "report only" mode?

I'd like to include active_record_doctor in our collection of lint tasks, which are themselves kicked off via a primarily lint (locally) and lint:ci rake task (where each of the sub tasks are rake deps).

I'd love to include this task as one of the task deps on CI that would emit the report (as a to-do list, of sorts), but without failing the build.

The exit mode doesn't appear to be configurable?

Better yet, would be a way to generate the report in xunit format (or TAP) which can be consumed by more downstream tools and CI providers?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions