Skip to content

Commit 0795a7c

Browse files
committed
Actually install the desired Django version
1 parent cfcc11a commit 0795a7c

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/check.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ jobs:
3838
poetry-version: 1.1.15
3939

4040
- name: Set up dependencies
41-
run: poetry install
41+
run: |
42+
poetry install
43+
poetry run pip install "django~=${{ matrix.django-version }}.0"
4244
4345
- name: Run tests
4446
run: poetry run ./runtests
@@ -74,7 +76,9 @@ jobs:
7476
poetry-version: 1.1.15
7577

7678
- name: Set up dependencies
77-
run: poetry install
79+
run: |
80+
poetry install
81+
poetry run pip install "django~=${{ matrix.django-version }}.0"
7882
7983
- name: Run linters
8084
run: poetry run flake8 --jobs=auto --format=github
@@ -110,7 +114,9 @@ jobs:
110114
poetry-version: 1.1.15
111115

112116
- name: Set up dependencies
113-
run: poetry install
117+
run: |
118+
poetry install
119+
poetry run pip install "django~=${{ matrix.django-version }}.0"
114120
115121
- name: Run type checking
116122
run: poetry run ./script/type-check

0 commit comments

Comments
 (0)