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

Actually skip test failures during SonarCloud analysis #986

Merged
merged 1 commit into from
Jan 25, 2024

Conversation

Stephan202
Copy link
Member

@Stephan202 Stephan202 commented Jan 22, 2024

Extracted from #603.

Suggested commit message:

Actually skip test failures during SonarCloud analysis (#986)

To test, run:

vimdiff \
  <(mvn help:effective-pom) \
  <(mvn help:effective-pom -Dsonar.projectKey=PicnicSupermarket_error-prone-support)

@Stephan202 Stephan202 added this to the 0.15.0 milestone Jan 22, 2024
Copy link

Looks good. No mutations were possible for these changes.
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

Copy link

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link
Contributor

@mohamedsamehsalah mohamedsamehsalah left a comment

Choose a reason for hiding this comment

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

To test, run:

vimdiff \
  <(mvn help:effective-pom) \
  <(mvn help:effective-pom -Dsonar.projectKey=PicnicSupermarket_error-prone-support)

Don't have experience with vimdiff so not sure what I am supposed to be looking at here 🙈

@Stephan202
Copy link
Member Author

Stephan202 commented Jan 23, 2024

It's not a question of vimdiff; any diff would suffice. It should show that on this branch maven.test.failure.ignore is set only in the latter case. (While without this PR there'd be no diff.)

I do see that I failed to add a backslash to the command; try again :)

@rickie rickie added the bug fix label Jan 23, 2024
@rickie rickie merged commit 7e0e121 into master Jan 25, 2024
16 checks passed
@rickie rickie deleted the sschroevers/fix-sonar-profile branch January 25, 2024 18:49
@Stephan202 Stephan202 added chore A task not related to code (build, formatting, process, ...) and removed bug fix labels Feb 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore A task not related to code (build, formatting, process, ...)
Development

Successfully merging this pull request may close these issues.

3 participants