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

CircleCI Orb does not work #649

Open
fazo96 opened this issue Feb 10, 2025 · 0 comments
Open

CircleCI Orb does not work #649

fazo96 opened this issue Feb 10, 2025 · 0 comments

Comments

@fazo96
Copy link

fazo96 commented Feb 10, 2025

Describe the bug
CircleCI cannot upload the coverage through the orb.

Environment (please complete the following information):

  • CircleCI
  • Rails specs (rspec) generated coverage report in the cobertura format

To Reproduce
Steps to reproduce the behavior:

  1. Set up rspec tests with simplecov-cobertura
  2. try uploading them to codecov using the codecov orb

Expected behavior
Upload is successful

Screenshots

Here are the relevant logs from the CircleCI run:

==> Running upload-coverage
      ./codecov upload-coverage -t <redacted> --dir backend --flag backend --report-type coverage
info - 2025-02-10 08:14:58,040 -- ci service found: circleci
warning - 2025-02-10 08:14:58,044 -- No config file could be found. Ignoring config.
warning - 2025-02-10 08:14:58,066 -- xcrun is not installed or can't be found.
warning - 2025-02-10 08:14:58,273 -- No gcov data found.
warning - 2025-02-10 08:14:58,274 -- coverage.py is not installed or can't be found.
info - 2025-02-10 08:14:58,508 -- Found 1 coverage files to report
info - 2025-02-10 08:14:58,508 -- > backend/coverage/coverage.xml
info - 2025-02-10 08:14:58,705 -- Process Upload complete
error - 2025-02-10 08:14:58,706 -- Upload failed: [{"ctx":{"expected":"'github', 'gitlab', 'bitbucket', 'github_enterprise', 'gitlab_enterprise', 'bitbucket_server' or 'github-actions'"},"input":"None","loc":["service"],"msg":"Input should be 'github', 'gitlab', 'bitbucket', 'github_enterprise', 'gitlab_enterprise', 'bitbucket_server' or 'github-actions'","type":"enum"}]

Additional context

Relevant circleci job setup:

# Beginning of file:
version: 2.1
orbs:
  - ...
  - codecov: codecov/codecov@5

# In the job steps:
      - codecov/upload:
          dir: backend
          flags: backend
@covecod covecod bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 Feb 10, 2025
@fazo96 fazo96 changed the title Bug Report CircleCI Orb does not work Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Waiting for: Product Owner
Development

No branches or pull requests

1 participant