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

add files previously found to have errors to incremental builds #672

Merged
merged 1 commit into from
Jun 5, 2023

Conversation

wakingrufus
Copy link
Collaborator

add files previously found to have errors to the list of files to check in incremental builds. This will prevent the lint task from passing when errors are still present.

This should solve #491 and #576

assertThat(task(":$mainSourceSetCheckTaskName")?.outcome).isEqualTo(TaskOutcome.FAILED)
assertThat(output)
.contains("Executing incrementally")
.contains("Initial.kt")
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

previously, Initial would not be listed (and if AnotherFile passed, the whole task would pass)

…ck in incremental builds. This will prevent the lint task from passing when errors are still present.

This should solve #491 and #576
@wakingrufus wakingrufus force-pushed the complete-incremental branch from 8a12718 to a9a3eb9 Compare June 5, 2023 16:09
Copy link
Owner

@JLLeitschuh JLLeitschuh left a comment

Choose a reason for hiding this comment

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

LGTM!

@JLLeitschuh JLLeitschuh merged commit b15cf94 into main Jun 5, 2023
@JLLeitschuh JLLeitschuh deleted the complete-incremental branch June 5, 2023 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants