Commit graph

13 commits

Author SHA1 Message Date
regexowl
3f1a80fbe2 Run actions with Node 22
The github actions were previously ran with Node 20, this bumps them to Node 22.

README was also updated to reflect currently used version of Node.
2025-07-03 14:45:48 +00:00
Gianluca Zuccarelli
eca4e55c67 workflows: split out dev checks into jobs
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.
2025-06-30 09:24:02 +00:00
Gianluca Zuccarelli
9247ea6196 workflows: split out unit tests
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.
2025-06-30 09:24:02 +00:00
Sanne Raymaekers
c29cee781f .github: run test workflows on merge_group
Make sure they work with merge queues.
2025-06-11 14:08:11 +00:00
Sanne Raymaekers
2da55e20b2 .github/workflows: run cockpit unit tests in github workflows 2025-02-06 10:55:45 +01:00
Sanne Raymaekers
c9e5f9630b .github/workflows: run dev checks on main
The codecov comments don't make much sense as there's no reference point
currently.
2024-10-17 20:46:38 +02:00
regexowl
b5eab82318 workflows: Add check for circular dependencies
This adds a check for circular dependencies into dev-check, to make sure we don't introduce new problems in the future.
2024-10-11 14:55:03 +02:00
regexowl
2ddfee409e test: Test with Node 20 only
This updates the test env to test with Node 20 only, pr_check is also updated to use Node 20.

The changes shouldn't affect users in any way, please let me know if you think it might.

There were common async flakes when using testing-library with Node 18, those often surfaced in gh actions / pr_check only and did not reproduce locally unless resources got limited (I can reproduce some flakes in Power Saver mode only, leading me to conclusion, that it's just async being mischievous). Switching to testing with Node 20 only should also allow us to re-enable some tests that got disabled specifically because them running with Node 18 ended up in a time out.
2024-09-03 21:54:47 +02:00
Michal Gold
4801a09a85 codecov: enable codecov in our repo
this commit add the configuration for codecov,
to be able to see the coverage of vitest in codecov website.
2024-09-03 09:56:45 +02:00
regexowl
15d9474740 workflows: Replace Node 16 with Node 20
With Node 16 being EOL since 09/2023 we could replace it with Node 20 in our development checks.
2024-06-20 10:48:29 +02:00
Ondrej Ezr
25144511ad api: split pulling API changes and regenerating new API
For checking wether the api was tempered with, we need separate action,
that just checks the code against the currently pulled spec.

This introduces two subactions for `npx api`.
These are `npx api:generate` and `npx api:pull`.
2024-01-23 12:39:32 +01:00
regexowl
6346cc50e4 workflows: Add check for manual changes to API
This adds a check to ensure that the code generated automatically by `npm run api` has no manual changes.
2023-12-21 18:51:04 +01:00
regexowl
5553766415 workflows: Add a workflow with dev checks
As Travis CI is getting removed from RedHatInsights this should replace it in what we used to use Travis for.

This workflow is triggered on pull requests to main and runs clean install of dependencies, lint check and the unit test suite.

The main motivation of this workflow being separated from the IQE tests is to allow to quickly check if the basic tests pass during development without the need to wait for the IQE tests to finish their run.
2023-11-02 11:28:44 +01:00