From e6c612375476f155bb8c9e6b56d37c81c7a68866 Mon Sep 17 00:00:00 2001 From: dal Date: Fri, 25 Jul 2025 18:32:59 -0600 Subject: [PATCH] Update CLAUDE.md to enhance test running guidelines and introduce pre-completion workflow steps for CI/CD checks. --- CLAUDE.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 733d13c76..42cb7ebbe 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -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 \ No newline at end of file + - `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` \ No newline at end of file