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

ci(sonarcloud): upload artifact #1614

Merged
merged 6 commits into from
Sep 13, 2023
Merged

ci(sonarcloud): upload artifact #1614

merged 6 commits into from
Sep 13, 2023

Conversation

mmorel-35
Copy link
Contributor

@mmorel-35 mmorel-35 commented Sep 12, 2023

What does this PR do?

Uploads unit-tests.xml and coverage.out in the sonarcloud artifact during the test phase. After the test-examples job the sonarcloud scan is executed with the artifacts uploaded.

Why is it important?

This helps providing a correct code coverage on sonarcloud

@netlify
Copy link

netlify bot commented Sep 12, 2023

Deploy Preview for testcontainers-go ready!

Name Link
🔨 Latest commit 728596c
🔍 Latest deploy log https://app.netlify.com/sites/testcontainers-go/deploys/65017594bc2de000089f5ff2
😎 Deploy Preview https://deploy-preview-1614--testcontainers-go.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

commons-test.mk Outdated Show resolved Hide resolved
commons-test.mk Outdated Show resolved Hide resolved
.github/workflows/ci-test-go.yml Outdated Show resolved Hide resolved
sonar-project.properties Outdated Show resolved Hide resolved
@mmorel-35 mmorel-35 marked this pull request as ready for review September 13, 2023 07:52
@mmorel-35 mmorel-35 requested a review from a team as a code owner September 13, 2023 07:52
Copy link
Collaborator

@mdelapenya mdelapenya left a comment

Choose a reason for hiding this comment

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

This LGTM, although before approving I'd like to first discuss https://github.com/testcontainers/testcontainers-go/pull/1614/files#r1324001839

Right after that, I think this is ready to go.

Again, probably this is not adding features to the end-users, but adding lots of value to the maintainability of the project 🚀, which makes a lot for me. Thanks!!!

@mmorel-35
Copy link
Contributor Author

By the way, you’ll need to update the pre release script so the version is also updated in sonar properties

@mdelapenya mdelapenya merged commit eb91328 into testcontainers:main Sep 13, 2023
100 checks passed
@mdelapenya mdelapenya self-assigned this Sep 13, 2023
@mdelapenya mdelapenya added the chore Changes that do not impact the existing functionality label Sep 13, 2023
@mdelapenya
Copy link
Collaborator

By the way, you’ll need to update the pre release script so the version is also updated in sonar properties

Will do it in a follow-up, thanks!

@mmorel-35 mmorel-35 deleted the patch-1 branch September 13, 2023 10:27
@mdelapenya
Copy link
Collaborator

@mmorel-35 here you have it: #1615

mdelapenya added a commit to mdelapenya/testcontainers-go that referenced this pull request Sep 13, 2023
* main:
  up (testcontainers#1617)
  chore: update sonarcloud properties when releasing the project (testcontainers#1615)
  ci(sonarcloud): upload artifact (testcontainers#1614)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Changes that do not impact the existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants