Skip to content

Commit ef9a2eb

Browse files
committed
Use correct Django version in CI suite
The PEP440 syntax with a tilde ~ increments the last bit of the version identifier. This cased all tests to run agains the latest v2 or v3 release instead of the correct subversion and their latest security releases. Close #257
1 parent 6c043a0 commit ef9a2eb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ jobs:
8686
- "3.8"
8787
- "3.9"
8888
django-version:
89-
- "2.2"
90-
- "3.1"
91-
- "3.2rc1"
89+
- "2.2.*"
90+
- "3.1.*"
91+
- "3.2.*"
9292
extra:
9393
- ""
9494
- "progressbar"
@@ -102,7 +102,7 @@ jobs:
102102
- run: python -m pip install --upgrade pip setuptools codecov wheel
103103
- run: python -m pip install .[${{ matrix.extra }}]
104104
if: ${{ matrix.extra }}
105-
- run: python -m pip install django~=${{ matrix.django-version }}
105+
- run: python -m pip install django==${{ matrix.django-version }}
106106
- name: Test with pytest
107107
run: python setup.py test
108108
- run: codecov

0 commit comments

Comments
 (0)