puter icon indicating copy to clipboard operation
puter copied to clipboard

CI: Add a simple test workflow

Open bitsnaps opened this issue 1 year ago • 2 comments

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

bitsnaps avatar Oct 02 '24 15:10 bitsnaps

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Oct 02 '24 15:10 CLAassistant

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 avatar Oct 03 '24 01:10 KernelDeimos

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

KernelDeimos avatar Oct 15 '24 02:10 KernelDeimos