File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -52,21 +52,29 @@ jobs:
5252 python -m pip install -r requirements-dev.txt
5353
5454 - name : Run Django migrations
55+ env :
56+ DATABASE_URL : postgis://optimap:optimap@localhost:5432/optimap
5557 run : |
5658 python manage.py migrate
5759
5860 - name : Load all testdata to see if it is up to date with the Django migrations
61+ env :
62+ DATABASE_URL : postgis://optimap:optimap@localhost:5432/optimap
5963 run : |
6064 python manage.py loaddata fixtures/test_data_optimap.json
6165 python manage.py loaddata fixtures/test_data_partners.json
6266
6367 - name : Run deploy checks
68+ env :
69+ DATABASE_URL : postgis://optimap:optimap@localhost:5432/optimap
6470 run : |
6571 python -Wa manage.py check --deploy
6672
6773 - name : Run Tests
74+ env :
75+ DATABASE_URL : postgis://optimap:optimap@localhost:5432/optimap
6876 run : |
69- coverage run --source='publications ' --omit='*/migrations/**' manage.py test tests
77+ coverage run --source='works ' --omit='*/migrations/**' manage.py test tests
7078
7179 - name : Check coverage and save it to files
7280 run : |
You can’t perform that action at this time.
0 commit comments