parse-community / parse-server

Parse Server for Node.js / Express
https://parseplatform.org
Apache License 2.0
20.69k stars 4.76k forks source link

Codecov not working #9129

Open mtrezza opened 1 month ago

mtrezza commented 1 month ago

New Issue Checklist

Issue Description

Codecov doesn't work; nothing we can do ATM, see https://github.com/codecov/codecov-action/issues/1262. We'll consider this when reviewing failing workflows in PRs.

parse-github-assistant[bot] commented 1 month ago

Thanks for opening this issue!

cbaker6 commented 1 month ago

@mtrezza I recently fixed this in my repos. You should be able to do the same thing:

  1. Goto Codecov and create a new global upload token https://docs.codecov.com/docs/the-codecov-cli#how-to-get-an-upload-token
  2. Set the global token as a secret for the whole organization using CODECOV_TOKEN https://docs.github.com/en/codespaces/managing-codespaces-for-your-organization/managing-development-environment-secrets-for-your-repository-or-organization#adding-secrets-for-a-repository
  3. Note, I had to also set the same CODECOV_TOKEN in the organizations Dependabot secrets to allow bots to use the token or else the bots will fail when they create PRs, Settings->Secrets and variables->Dependabot
  4. Delete any old CODECOV_TOKEN's that's designated for individual repo settings , just let the global token be used
mtrezza commented 1 month ago

I believe I already did this. If you look at the CI file, you can see the org global token being set.