Skip to content

Commit 761fdbb

Browse files
committed
Run django migration as separate job run
We need to squash our migrations, it takes around 3min
1 parent c6c6486 commit 761fdbb

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ jobs:
6262
exit 1;
6363
}
6464
65+
- name: Run django migrations
66+
run: docker compose run --rm serve ./manage.py test --keepdb -v 2 --pattern="test_fake.py"
67+
6568
- name: 🤞 Run Test 🧪
66-
run: |
67-
time docker compose run --rm serve ./manage.py test --keepdb -v 2 --pattern="test_fake.py" &&
68-
docker compose run --rm serve pytest --reuse-db --durations=10
69+
run: docker compose run --rm serve pytest --reuse-db --durations=10

0 commit comments

Comments
 (0)