Skip to content

update codecov to v4 and use upload token#1156

Merged
briantist merged 2 commits intohvac:mainfrom
briantist:ci/fix-codecov
Apr 13, 2024
Merged

update codecov to v4 and use upload token#1156
briantist merged 2 commits intohvac:mainfrom
briantist:ci/fix-codecov

Conversation

@briantist
Copy link
Copy Markdown
Contributor

@briantist briantist commented Apr 13, 2024

Codecov v3 has stopped working properly, we will update to v4, but v4 does not support tokenless uploading except on PRs from forks, so I have also added the token as a repository secret (also in dependabot secrets).

I've also set it so that CI fails if there's an error reporting coverage. I hadn't even noticed the issue until now because CI was passing.

Closes #1134

@briantist briantist added CI/CD related to CI/CD (not necessarily tests) skip-changelog will not be shown in the auto-generated changelog labels Apr 13, 2024
@briantist briantist self-assigned this Apr 13, 2024
@briantist briantist requested a review from a team as a code owner April 13, 2024 18:32
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.68%. Comparing base (48027db) to head (bbc75d9).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1156      +/-   ##
==========================================
+ Coverage   87.66%   87.68%   +0.01%     
==========================================
  Files          66       66              
  Lines        3227     3231       +4     
==========================================
+ Hits         2829     2833       +4     
  Misses        398      398              

@briantist briantist merged commit 781156f into hvac:main Apr 13, 2024
@briantist briantist deleted the ci/fix-codecov branch April 13, 2024 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI/CD related to CI/CD (not necessarily tests) skip-changelog will not be shown in the auto-generated changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant