Skip to content

Commit 4d28845

Browse files
committed
build: run integration tests in headless mode
1 parent 9cec121 commit 4d28845

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

Makefile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,11 @@ quality: lint typecheck format ## Run all code quality checks
4949

5050
test: ## Run all tests (unit first, then integration with parallelism)
5151
@$(PRINT) "$(YELLOW)Running tests/unit...$(RESET)"
52-
uv run pytest tests/unit
53-
@$(PRINT) "$(YELLOW)Running tests/integration with $(XDIST_WORKERS) workers...$(RESET)"
54-
uv run pytest -n 2 tests/integration
52+
pytest tests/unit
53+
@$(PRINT) "$(YELLOW)Running tests/integration with 2 workers...$(RESET)"
54+
BALATROBOT_RENDER_ON_API=0 \
55+
BALATROBOT_HEADLESS=1 \
56+
pytest -n 2 tests/integration
5557

5658
all: lint format typecheck test ## Run all code quality checks and tests
5759
@$(PRINT) "$(GREEN)✓ All checks completed$(RESET)"

0 commit comments

Comments
 (0)