Skip to content

Commit d6ed1e1

Browse files
committed
run docker tests in parallel
Signed-off-by: tdruez <tdruez@aboutcode.org>
1 parent f651f8f commit d6ed1e1

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/check-code-and-docs-validation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Run unit tests
1+
name: Check code and docs validation
22

33
on:
44
workflow_dispatch:

.github/workflows/run-unit-tests-docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ jobs:
2323
run: make envfile
2424

2525
- name: Run tests
26-
run: docker compose run web python ./manage.py test --verbosity=2 --noinput
26+
run: docker compose run web python ./manage.py test --verbosity=2 --noinput --parallel auto

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ dependencies = [
5050
"django-guardian==3.3.1",
5151
"django-environ==0.13.0",
5252
"django-debug-toolbar==6.3.0",
53+
# Parallel testing
54+
"tblib==3.2.2",
5355
# CAPTCHA
5456
"altcha==1.0.0",
5557
"django_altcha==0.10.0",
@@ -160,8 +162,6 @@ dependencies = [
160162
dev = [
161163
# Linter and Validation
162164
"ruff==0.15.14",
163-
# Parallel testing
164-
"tblib==3.2.2"
165165
]
166166

167167
[project.urls]

uv.lock

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

0 commit comments

Comments
 (0)