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

fixed codecov #3895

Merged
merged 1 commit into from
May 1, 2024
Merged

fixed codecov #3895

merged 1 commit into from
May 1, 2024

Conversation

chiamp
Copy link
Collaborator

@chiamp chiamp commented May 1, 2024

Fixed codecov error breaking HEAD: {'detail': ErrorDetail(string='Rate limit reached. Please upload with the Codecov repository upload token to resolve issue. Expected available in 800 seconds.', code='throttled')}

For context, other people are also having issues with this error.

To resolve this error, I followed the steps outlined here:

  • go to https://app.codecov.io/ and sign in to your github account
  • go to the 'Repos' tab and find Flax and click the "Configure" button
  • copy the CODECOV_TOKEN and add it to Github actions (Settings --> Secrets and variables --> Actions --> Repository secrets --> New repository secret)
  • copy the following into the .github/workflows/build.yml file:
- name: Upload coverage reports to Codecov
    uses: codecov/codecov-action@v4.0.1
    with:
      token: ${{ secrets.CODECOV_TOKEN }}

@chiamp chiamp self-assigned this May 1, 2024
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.43%. Comparing base (2c7d7cd) to head (b4b9d12).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3895   +/-   ##
=======================================
  Coverage   60.43%   60.43%           
=======================================
  Files         105      105           
  Lines       13263    13263           
=======================================
  Hits         8015     8015           
  Misses       5248     5248           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@copybara-service copybara-service bot merged commit ae5d66d into google:main May 1, 2024
19 checks passed
@chiamp chiamp deleted the codecov branch May 1, 2024 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants