Skip to content

Commit 8ae4e47

Browse files
committed
try to fix CI
1 parent 0e0b723 commit 8ae4e47

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff 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: |

0 commit comments

Comments
 (0)