Skip to content

split out dev checks (HMS-8754)#3372

Merged
regexowl merged 2 commits intoosbuild:mainfrom
kingsleyzissou:pr-checks
Jun 30, 2025
Merged

split out dev checks (HMS-8754)#3372
regexowl merged 2 commits intoosbuild:mainfrom
kingsleyzissou:pr-checks

Conversation

@kingsleyzissou
Copy link
Copy Markdown
Collaborator

Split out the dev checks into their own actions. The benefit of this is that it makes it clearer what is failing and easier to find out why. It also means we have more control when the gitlab schutzbot tests are triggered.

Fixes: HMS-8754

@kingsleyzissou kingsleyzissou force-pushed the pr-checks branch 11 times, most recently from 6d7235a to af88f67 Compare June 27, 2025 14:02
@codecov
Copy link
Copy Markdown

codecov bot commented Jun 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.60%. Comparing base (2894858) to head (393c6fb).
Report is 6 commits behind head on main.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #3372   +/-   ##
=======================================
  Coverage   84.60%   84.60%           
=======================================
  Files         188      188           
  Lines       23614    23614           
  Branches     2451     2452    +1     
=======================================
  Hits        19978    19978           
  Misses       3620     3620           
  Partials       16       16           

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2894858...393c6fb. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@kingsleyzissou kingsleyzissou force-pushed the pr-checks branch 10 times, most recently from cd8b622 to d3ce725 Compare June 27, 2025 15:19
@kingsleyzissou kingsleyzissou changed the title Pr checks split out dev checks (HMS-8754) Jun 27, 2025
Split out the unit tests into their own action. This decouples the unit tests
from the other tests. This means the gitlab schutzbot tests don't have to
wait until the unit tests are completed before they are triggered. This
also a step towards splitting out the tests so it is more obvious to see
which step is failing and why.
@kingsleyzissou kingsleyzissou marked this pull request as ready for review June 27, 2025 15:23
@kingsleyzissou
Copy link
Copy Markdown
Collaborator Author

We'll need to remove the dev-check as required and mark the sub tests as required so this can be merged.

run: npm run build

lint-checks:
name: Linting Checks
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I would maybe consider calling this just Linter, or more specifically which linter it actually is, like ESLint? Seems way less ambiguous to me. 🤔

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

For the record, I had to keep the other checks in the same workflow file since it is incredibly difficult trying to trigger the gitlab workflow after multiple workflows have completed

Split out the dev checks into multiple jobs, the benefit of this is that it
will be easier to see which check is failing and why.
Copy link
Copy Markdown
Collaborator

@regexowl regexowl left a comment

Choose a reason for hiding this comment

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

Nice! Let me update the required checks list and then we can merge 🚀

@regexowl regexowl added this pull request to the merge queue Jun 30, 2025
Merged via the queue into osbuild:main with commit eca4e55 Jun 30, 2025
30 checks passed
@kingsleyzissou kingsleyzissou deleted the pr-checks branch June 30, 2025 09:52
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.

3 participants