Update CLAUDE.md to enhance test running guidelines and introduce pre-completion workflow steps for CI/CD checks.

This commit is contained in:
dal 2025-07-25 18:32:59 -06:00
parent 2833c6bb0c
commit e6c6123754
No known key found for this signature in database
GPG Key ID: 16F4B0E1E9F61122
1 changed files with 6 additions and 3 deletions

View File

@ -259,10 +259,13 @@ export async function getWorkspaceSettingsHandler(
### Soft Delete and Upsert Practices
- In our database, we never hard delete, we always use soft deletes with the `deleted_at` field
- For update operations, we should almost always perform an upsert unless otherwise specified
```
**Test Running Guidelines**:
## Test Running Guidelines
- When running tests, use the following Turbo commands:
- `turbo test:unit` for unit tests
- `turbo test:integration` for integration tests
- `turbo test` for running all tests
- `turbo test` for running all tests
## Pre-Completion Workflow
- Always run `turbo test:unit, lint, and build:dry-run` before making any pull request or finishing a feature, bugfix, etc. to ensure things make it through CI/CD
- You can run all these checks simultaneously with `turbo build:dry-run lint test:unit`