update testing instructions

This commit is contained in:
dakkar 2024-08-02 13:48:09 +01:00
parent 72758a2dbf
commit c0fc6ce8cd
1 changed files with 9 additions and 5 deletions

View File

@ -611,10 +611,14 @@ seems to do a decent job)
after every change, re-build the frontend and check again, until after every change, re-build the frontend and check again, until
there are no more `ti-*` classes in the built files there are no more `ti-*` classes in the built files
* run tests `pnpm test` and fix as much as you can
* right now `megalodon` doesn't pass its tests, you probably need to commit!
run `pnpm --filter=backend test` (requires a test database, [see * double-check the new migration, that they won't conflict with our db
above](#testing)) and `pnpm --filter=frontend test` changes: `git diff develop -- packages/backend/migration/`
* `pnpm clean; pnpm build`
* run tests `pnpm --filter='!megalodon' test` (requires a test
database, [see above](#testing)) and fix as much as you can
* right now `megalodon` doesn't pass its tests, so we skip them
* run lint `pnpm --filter=backend lint` + `pnpm --filter=frontend * run lint `pnpm --filter=backend lint` + `pnpm --filter=frontend
eslint` and fix as much as you can eslint` and fix as much as you can