From 35b7e8bebc40b3d9cafd3e5b4c2d1e3eabf15a77 Mon Sep 17 00:00:00 2001 From: Ivan Date: Mon, 13 Apr 2026 14:28:11 -0500 Subject: [PATCH] refactor(tests): update Python test commands to exclude memory profiling and performance tests --- Taskfile.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Taskfile.yml b/Taskfile.yml index 51baad7..c3ea271 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -161,14 +161,14 @@ tasks: - "{{.NPM}} run test:e2e" test:be: - desc: Run Python tests (pytest; excludes test_performance_hotpaths — use test:be:perf locally) + desc: Run Python tests (pytest; excludes performance and memory profiling — use test:be:perf / profile:mem locally) cmds: - - poetry run pytest tests/backend --ignore=tests/backend/test_performance_hotpaths.py --cov=meshchatx/src/backend + - poetry run pytest tests/backend --ignore=tests/backend/test_performance_hotpaths.py --ignore=tests/backend/test_memory_profiling.py --cov=meshchatx/src/backend test:be:cov: - desc: Run Python tests with detailed coverage (excludes performance hot-path tests) + desc: Run Python tests with detailed coverage (excludes performance hot-path and memory profiling tests) cmds: - - poetry run pytest tests/backend --ignore=tests/backend/test_performance_hotpaths.py --cov=meshchatx/src/backend --cov-report=term-missing + - poetry run pytest tests/backend --ignore=tests/backend/test_performance_hotpaths.py --ignore=tests/backend/test_memory_profiling.py --cov=meshchatx/src/backend --cov-report=term-missing test:be:perf: desc: Backend performance regression tests (not run in CI; run locally when needed)