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

tests: create/update PR with failed spread tests #14775

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

maykathm
Copy link
Contributor

This adds a new workflow that runs every time the "Tests" workflow runs. It will read the spread.json files (if any) produced during the Tests workflow and collect that data into a single report that it will then comment on the PR. This had to be a separate workflow due to insufficient permissions for PRs from forked versions of the repo.

It is currently in operation on the snapcore/snapd-ci fork and commented failures on the demo PR. Note that it correctly updates an already existing comment instead of creating a new one.

All the artifacts used to produce the report were correctly deleted

The workflow does not run when the causal "Tests" workflow run is not a PR

Copy link

codecov bot commented Nov 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.03%. Comparing base (96ea7b0) to head (7e05fb5).
Report is 115 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #14775      +/-   ##
==========================================
+ Coverage   78.95%   79.03%   +0.08%     
==========================================
  Files        1084     1087       +3     
  Lines      146638   147941    +1303     
==========================================
+ Hits       115773   116923    +1150     
- Misses      23667    23775     +108     
- Partials     7198     7243      +45     
Flag Coverage Δ
unittests 79.03% <ø> (+0.08%) ⬆️

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.

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.

1 participant