You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#### Parallel Testing with Multiple Balatro Instances
41
-
42
-
The test suite supports running tests in parallel across multiple Balatro instances. This dramatically reduces test execution time by distributing tests across multiple game instances.
43
-
44
-
**Setup for Parallel Testing:**
45
-
46
-
1.**Check existing instances and start multiple Balatro instances on different ports**:
47
-
48
-
```bash
49
-
# First, check if any instances are already running
50
-
./balatro.sh --status
51
-
52
-
# If you need to kill all existing instances first:
53
-
./balatro.sh --kill
54
-
```
25
+
### Code Quality and Linting
55
26
56
-
```bash
57
-
# Start two instances with a single command
58
-
./balatro.sh -p 12346 -p 12347
59
-
60
-
# With performance optimizations for faster testing
61
-
./balatro.sh --fast -p 12346
62
-
63
-
# Headless mode for server environments
64
-
./balatro.sh --headless -p 12346
27
+
```bash
28
+
make lint # Check code with ruff linter
29
+
make lint-fix # Auto-fix linting issues
30
+
make format # Format code with ruff
31
+
make format-md # Format markdown files
32
+
make typecheck # Run type checker
33
+
make quality # Run all quality checks
34
+
```
65
35
66
-
# Fast Headless mode on 4 instances (recommended configuration)
0 commit comments