chore(ci): update DJANGO_SETTINGS_MODULE in CI workflow for ssgd project

This commit is contained in:
sankalp committed 2025-12-09 10:44:10 +05:45
1 parent e78841631c
commit 27ca456212
1 file changed
+10 -4
+10 -4
View File
@@ -1,3 +1,4 @@
name: Django CI
on:
@@ -31,9 +32,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v5
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
python-version: ${{ matrix.python-version }}
- name: Install uv
uses: astral-sh/setup-uv@v4
with:
@@ -60,7 +62,7 @@ python-version: ${{ matrix.python-version }}
- name: Run Django tests
env:
DJANGO_SETTINGS_MODULE: config.settings.development
DJANGO_SETTINGS_MODULE: ssgd.settings.development
SECRET_KEY: test-secret-key-for-ci
ALLOWED_HOSTS: localhost
DB_NAME: test_db
@@ -74,7 +76,7 @@ python-version: ${{ matrix.python-version }}
- name: Check migrations
env:
DJANGO_SETTINGS_MODULE: config.settings.development
DJANGO_SETTINGS_MODULE: ssgd.settings.development
SECRET_KEY: test-secret-key-for-ci
ALLOWED_HOSTS: localhost
DB_NAME: test_db
@@ -104,4 +106,8 @@ python-version: ${{ matrix.python-version }}
run: uv sync
- name: Run security check
env:
DJANGO_SETTINGS_MODULE: ssgd.settings.development
SECRET_KEY: test-secret-key-for-ci
ALLOWED_HOSTS: localhost
run: uv run python manage.py check --deploy