Skip to content

ci(sonarcloud): upload artifact#1614

Merged
mdelapenya merged 6 commits intotestcontainers:mainfrom
mmorel-35:patch-1
Sep 13, 2023
Merged

ci(sonarcloud): upload artifact#1614
mdelapenya merged 6 commits intotestcontainers:mainfrom
mmorel-35:patch-1

Conversation

@mmorel-35
Copy link
Copy Markdown
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
Copy Markdown

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.

@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
Copy Markdown
Member

@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
Copy Markdown
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
@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
Copy Markdown
Member

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
Copy Markdown
Member

@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.

2 participants