Skip to content

Commit dbe7ceb

Browse files
committed
fix justfile
Signed-off-by: phernandez <[email protected]>
1 parent 8282701 commit dbe7ceb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

justfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,17 +111,17 @@ coverage:
111111
# See: https://github.com/jlowin/fastmcp/issues/1311
112112
TIMEOUT_CMD=$(command -v gtimeout || command -v timeout || echo "")
113113
if [[ -n "$TIMEOUT_CMD" ]]; then
114-
$TIMEOUT_CMD --signal=KILL 600 bash -c 'BASIC_MEMORY_ENV=test BASIC_MEMORY_TEST_POSTGRES=1 uv run coverage run --source=basic_memory -m pytest -p pytest_mock -v --no-cov tests test-int' || test $? -eq 137
114+
$TIMEOUT_CMD --signal=KILL 600 bash -c 'BASIC_MEMORY_ENV=test BASIC_MEMORY_TEST_POSTGRES=1 uv run coverage run --source=basic_memory -m pytest -p pytest_mock -v --no-cov -m postgres tests test-int' || test $? -eq 137
115115
else
116116
echo "⚠️ No timeout command found, running without timeout..."
117-
BASIC_MEMORY_ENV=test BASIC_MEMORY_TEST_POSTGRES=1 uv run coverage run --source=basic_memory -m pytest -p pytest_mock -v --no-cov tests test-int
117+
BASIC_MEMORY_ENV=test BASIC_MEMORY_TEST_POSTGRES=1 uv run coverage run --source=basic_memory -m pytest -p pytest_mock -v --no-cov -m postgres tests test-int
118118
fi
119119

120120
echo "🧩 Combining coverage data..."
121121
uv run coverage combine
122122
uv run coverage report -m
123123
uv run coverage html
124-
@echo "Coverage report generated in htmlcov/index.html"
124+
echo "Coverage report generated in htmlcov/index.html"
125125

126126
# Lint and fix code (calls fix)
127127
lint: fix

0 commit comments

Comments
 (0)