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: Add a simple test workflow #782

Merged
merged 2 commits into from
Oct 15, 2024
Merged

Conversation

bitsnaps
Copy link
Contributor

@bitsnaps bitsnaps commented Oct 2, 2024

Just to make sure everything works fine on all major node versions (>= v18)

basic test workflow setup, this allows checking that everything is fine on node v18 up to v22.
@CLAassistant
Copy link

CLAassistant commented Oct 2, 2024

CLA assistant check
All committers have signed the CLA.

@KernelDeimos
Copy link
Contributor

Thanks for your contribution! I'm going to leave this open for a bit to give us time to get the npm run test tests working. The backend tests should also be added here but I'm unsure if they currently follow the right conventions (i.e. exit code) to be included here.

Backend tests are run with: node src/backend/tools/test.js - that script invokes a "test kernel" which registers all the services (just like Puter's kernel does), and runs the _test method on the ones which implement it.

@KernelDeimos
Copy link
Contributor

I updated the text command a while ago and it should be working, so I'm gonna try this out now.

@KernelDeimos KernelDeimos merged commit 12a38b8 into HeyPuter:main Oct 15, 2024
4 checks passed
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