Skip to content

Commit 558440f

Browse files
committed
Use example local settings in CI
1 parent dfe4fb5 commit 558440f

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -60,23 +60,7 @@ jobs:
6060
uses: astral-sh/setup-uv@v4
6161

6262
- name: Create CI settings
63-
run: |
64-
cat > pgcommitfest/local_settings.py << 'EOF'
65-
# CI test settings
66-
DATABASES = {
67-
"default": {
68-
"ENGINE": "django.db.backends.postgresql_psycopg2",
69-
"NAME": "pgcommitfest",
70-
"USER": "postgres",
71-
"PASSWORD": "postgres",
72-
"HOST": "localhost",
73-
"PORT": "5432",
74-
}
75-
}
76-
77-
# Enable debug for better error messages in CI
78-
DEBUG = True
79-
EOF
63+
run: cp pgcommitfest/local_settings_example.py pgcommitfest/local_settings.py
8064

8165
- name: Install dependencies
8266
run: uv sync

0 commit comments

Comments
 (0)