We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents caa9a26 + e5b34ac commit 1283418Copy full SHA for 1283418
.github/workflows/django.yml
@@ -10,6 +10,14 @@ jobs:
10
build:
11
12
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
21
strategy:
22
max-parallel: 4
23
matrix:
@@ -27,7 +35,12 @@ jobs:
27
35
pip install -r requirements.txt
28
36
- name: Run Tests
29
37
env:
30
- SECRET_KEY: ${{ secrets.SECRET_KEY }}
38
+ SECRET_KEY: '*ht-$58ds7tp3+@ms0%*5d_a=a343$9ko&#pd+@34&3-3=dvkm'
31
39
API_KEY: ${{ secrets.API_KEY }}
40
+ DJANGO_SUPERUSER_PASSWORD: admin
41
+ DJANGO_SUPERUSER_USERNAME: admin
42
+ DJANGO_SUPERUSER_EMAIL: [email protected]
32
43
run: |
44
+ python manage.py migrate
45
+ python manage.py createsuperuser --no-input
33
46
python manage.py test
0 commit comments