Skip to content

Commit e0dfcef

Browse files
committed
chore(cicd): parallelize tests
1 parent 02f94df commit e0dfcef

File tree

4 files changed

+27
-1
lines changed

4 files changed

+27
-1
lines changed

.github/workflows/cicd.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ jobs:
2828
- uses: astral-sh/setup-uv@v4
2929
with:
3030
enable-cache: true
31-
- run: uv run pytest
31+
- run: uv run pytest -n auto

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"python.testing.pytestArgs": [
3+
"-n=8",
34
"tests"
45
],
56
"python.testing.unittestEnabled": false,

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ dev = [
4646
"pre-commit>=3.5.0",
4747
"pytest-asyncio>=0.25.1",
4848
"pytest-cov>=5.0.0",
49+
"pytest-xdist>=3.6.1",
4950
"pytest>=8.3.3",
5051
"starlette-cramjam>=0.4.0",
5152
]

uv.lock

Lines changed: 24 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)