Skip to content

Commit dc1bed8

Browse files
committed
fix django version installation in CI matrix
1 parent 32d3a3a commit dc1bed8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ jobs:
6363
- name: Install enum-properties
6464
run: |
6565
poetry install -E properties
66+
poetry run pip install -U "Django~=${{ matrix.django-version }}"
6667
- name: Unit Tests w/ enum-properties
6768
run: |
6869
poetry run pytest --cov-fail-under=30
@@ -72,18 +73,21 @@ jobs:
7273
- name: Install djangorestframework
7374
run: |
7475
poetry install -E djangorestframework
76+
poetry run pip install -U "Django~=${{ matrix.django-version }}"
7577
- name: Run Unit Tests w/ djangorestframework
7678
run: |
7779
poetry run pytest --cov-fail-under=30
7880
- name: Install django-filters
7981
run: |
8082
poetry install -E filters
83+
poetry run pip install -U "Django~=${{ matrix.django-version }}"
8184
- name: Run Unit Tests w/ django-filter
8285
run: |
8386
poetry run pytest --cov-fail-under=30
8487
- name: Install all deps
8588
run: |
8689
poetry install -E all
90+
poetry run pip install -U "Django~=${{ matrix.django-version }}"
8791
- name: Run Full Unit Tests
8892
run: |
8993
poetry run pytest

0 commit comments

Comments
 (0)