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

Allow apiCheck to run on all subprojects before failing #240

Open
OscarSpruit opened this issue Jun 14, 2024 · 2 comments
Open

Allow apiCheck to run on all subprojects before failing #240

OscarSpruit opened this issue Jun 14, 2024 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@OscarSpruit
Copy link

Issue

Currently, when you make changes to multiple modules, then apiCheck will fail on the first module where the API contract breaks.

Expected behaviour

When running apiCheck every module should be checked before failing. The output should accumulate all changes in the public API, so you get an overview of all changes in the project.

Additional info

Version: 0.14.0

@JakeWharton
Copy link

The --continue flag is a general-purpose mechanism that runs all possible tasks before failing at the end. I'm not sure it makes sense for every plugin to attempt to duplicate this behavior.

@OscarSpruit
Copy link
Author

Thanks @JakeWharton! That should work and by processing the output I can format it nicely into a single overview.

If it's not desired for this plugin, maybe it's worth it to document this flag as I'm sure more people are unaware of this.

@fzhinkin fzhinkin added the documentation Improvements or additions to documentation label Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants