Skip to content

Commit bb4f744

Browse files
committed
Fix django tests line
1 parent dcd8759 commit bb4f744

1 file changed

Lines changed: 1 addition & 20 deletions

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -40,26 +40,7 @@ jobs:
4040
- name: Run Django tests
4141
run: |
4242
docker run --rm \
43-
-e DJANGO_SETTINGS_MODULE=bblab_site.settings \
44-
-e BBLAB_DB_USER=test_user \
45-
-e BBLAB_DB_PASSWORD=test_password \
46-
-e BBLAB_DB_ROOT_PASSWORD=test_root_password \
47-
-e BBLAB_DB_NAME=test_db \
48-
-e BBLAB_DB_HOST=localhost \
49-
-e BBLAB_WEB_ADDRESS=test.example.com \
50-
-e BBLAB_SECRET_KEY=test-secret-key-for-ci-only \
51-
-e BBLAB_DEBUG=True \
52-
-e BBLAB_CSRF_COOKIE_SECURE=False \
53-
-e BBLAB_SESSION_COOKIE_SECURE=False \
54-
-e BBLAB_STATIC_ROOT=/alldata/bblab_site/static \
55-
-e BBLAB_MEDIA_ROOT=/alldata/bblab_site/media \
56-
-e BBLAB_LOG_FILE=/alldata/bblab_site/logs/bblab.log \
57-
-e BBLAB_UTIL_PATH=/alldata/bblab_site/depend/util_scripts \
58-
-e BBLAB_LIB_PATH=/alldata/bblab_site/depend/libraries \
59-
-e BBLAB_R_PATH=/usr/bin/R \
60-
-e BBLAB_OP_PATH=/alldata/bblab_site/tools \
61-
-e BBLAB_TOOL_ROOT=/alldata/bblab_site/tools \
62-
-e BBLAB_TEMPLATE_ROOT=/alldata/bblab_site/templates \
43+
--env-file ./compose-template.env \
6344
-w /alldata/bblab_site \
6445
cfe-lab/bblab-site:latest \
6546
uv run python manage.py test --noinput

0 commit comments

Comments
 (0)