Skip to content

Commit 57900c5

Browse files
committed
fix docker tests workflow
Signed-off-by: tdruez <tdruez@aboutcode.org>
1 parent 1c8b2b7 commit 57900c5

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,10 @@ jobs:
2222
- name: Generate the .env file and the SECRET_KEY
2323
run: make envfile
2424

25+
- name: Build Docker image
26+
run: docker compose -f compose.yml -f compose.build.yml build
27+
2528
- name: Run tests
26-
run: docker compose run web python ./manage.py test --verbosity=2 --noinput --parallel auto
29+
run: |
30+
docker compose -f compose.yml -f compose.build.yml run web \
31+
python ./manage.py test --verbosity=2 --noinput --parallel auto

0 commit comments

Comments
 (0)