Skip to content

Commit 1283418

Browse files
authored
Merge pull request #15 from kirsten238/master
Update django.yml
2 parents caa9a26 + e5b34ac commit 1283418

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/django.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@ jobs:
1010
build:
1111

1212
runs-on: ubuntu-latest
13+
services:
14+
postgres:
15+
image: postgres:latest
16+
ports:
17+
- 5432:5432
18+
env:
19+
PSQL_PASS: 12345
20+
PSQL_USER: user
1321
strategy:
1422
max-parallel: 4
1523
matrix:
@@ -27,7 +35,12 @@ jobs:
2735
pip install -r requirements.txt
2836
- name: Run Tests
2937
env:
30-
SECRET_KEY: ${{ secrets.SECRET_KEY }}
38+
SECRET_KEY: '*ht-$58ds7tp3+@ms0%*5d_a=a343$9ko&#pd+@34&3-3=dvkm'
3139
API_KEY: ${{ secrets.API_KEY }}
40+
DJANGO_SUPERUSER_PASSWORD: admin
41+
DJANGO_SUPERUSER_USERNAME: admin
42+
DJANGO_SUPERUSER_EMAIL: [email protected]
3243
run: |
44+
python manage.py migrate
45+
python manage.py createsuperuser --no-input
3346
python manage.py test

0 commit comments

Comments
 (0)