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

Don't apply IntelliJ illegal module dependency inspection to test code #101977

Conversation

mark-vieira
Copy link
Contributor

We don't enforce Java modularity when executing tests, so we shouldn't bother highlighting issues in test framework code. This PR adds a new IntelliJ scope that excludes everything under :test and configures the illegal module dependency inspection to use this new scope.

@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-delivery (Team:Delivery)

@mark-vieira mark-vieira added the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Nov 9, 2023
@elasticsearchmachine elasticsearchmachine merged commit 520e118 into elastic:main Nov 9, 2023
@mark-vieira mark-vieira deleted the idea-ignore-test-module-dependencies branch November 9, 2023 17:46
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.11

mark-vieira added a commit to mark-vieira/elasticsearch that referenced this pull request Nov 9, 2023
elastic#101977)

We don't enforce Java modularity when executing tests, so we shouldn't
bother highlighting issues in test framework code. This PR adds a new
IntelliJ scope that excludes everything under `:test` and configures the
illegal module dependency inspection to use this new scope.
elasticsearchmachine pushed a commit that referenced this pull request Nov 9, 2023
#101977) (#101981)

We don't enforce Java modularity when executing tests, so we shouldn't
bother highlighting issues in test framework code. This PR adds a new
IntelliJ scope that excludes everything under `:test` and configures the
illegal module dependency inspection to use this new scope.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) :Delivery/Build Build or test infrastructure >non-issue Team:Delivery Meta label for Delivery team v8.11.1 v8.12.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants