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

Update build workflow to upload JaCoCo code coverage report to codacy.com #54

Merged
merged 1 commit into from
Oct 6, 2024

Conversation

manoelcampos
Copy link
Contributor

@manoelcampos manoelcampos commented May 5, 2023

In order to make the upload work you need to get a codacy project token.

Getting the coverage badge and codacy project token

  • access your project at https://codacy.com, go to "Settings" at the left sidebar
  • go to the "General" tab at the top and copy the coverage badge, adding to your README.md.
  • go to the "Integrations" tab, open the "Project API" and copy the "Project API Token"

Access your GitHub repository settings tab at the top

  • click the "Secrets and variables" at the left side bar, then "actions"
  • click the "New repository secret" button and create a variable named CODACY_PROJECT_TOKEN. Its value must the the one copied from the Codacy's "Project API Token" field.

@manoelcampos manoelcampos changed the title Update build workflow to upload JaCoCo code coverage report to https://codacy.com Update build workflow to upload JaCoCo code coverage report to codacy.com May 5, 2023
@cdimascio cdimascio merged commit 655d880 into cdimascio:master Oct 6, 2024
5 checks passed
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