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

🌱 ci-repo: concurrency limits, codecov upload #2056

Merged
merged 1 commit into from
Aug 22, 2024

Conversation

sjd78
Copy link
Member

@sjd78 sjd78 commented Aug 20, 2024

  • Setup concurrency on the ci-repo.yml workflow so rapid updates to a PR will have old/pending CI runs just cancel (saving resources)

  • Allow the codecov action to upload on any run. This should allow the codecov reports on PRs be accurate based on the current commit on main (or PR target branch)

Fixes: #1820

  - Setup concurrency on the ci-repo.yml workflow so
    rapid updates to a PR will have old/pending CI runs
    just cancel (saving resources)

  - Allow the codecov action to upload on any run. This
    should allow the codecov reports on PRs be accurate
    based on the current commit on main (or PR target branch)

Signed-off-by: Scott J Dickerson <[email protected]>
Copy link

codecov bot commented Aug 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 42.53%. Comparing base (b654645) to head (db753ff).
Report is 214 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2056      +/-   ##
==========================================
+ Coverage   39.20%   42.53%   +3.33%     
==========================================
  Files         146      171      +25     
  Lines        4857     5504     +647     
  Branches     1164     1375     +211     
==========================================
+ Hits         1904     2341     +437     
- Misses       2939     3046     +107     
- Partials       14      117     +103     
Flag Coverage Δ
client 42.53% <ø> (+3.33%) ⬆️
server ?

Flags with carried forward coverage won't be shown. Click here to find out more.

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

Copy link
Collaborator

@rszwajko rszwajko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the improvements!

@@ -61,14 +65,14 @@ jobs:
run: npm run test -- --coverage --watchAll=false

- name: Upload to codecov (client)
if: ${{ github.event.pull_request }}
# if: ${{ github.event.pull_request }}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

our PR branches are mostly short-lived - I'm not sure if this is the main reason of codecov being out of synch (as of this PR its 200+ commits). Let's see it in action.

@sjd78 sjd78 merged commit 8ba1055 into konveyor:main Aug 22, 2024
12 checks passed
@sjd78 sjd78 deleted the ci-repo-concurrency branch August 22, 2024 14:45
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.

[Enhancement/CI] Fix or remove the codecov step of the repo CI
2 participants