File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -218,7 +218,9 @@ jobs:
218
218
poetry run pip install --upgrade pip
219
219
poetry install -E all --with mysql
220
220
poetry run pip install -U "Django~=${{ matrix.django-version }}"
221
- poetry run pip install -U mysqlclient=="${{ matrix.mysqlclient-version }}"
221
+ - name : Install mysqlclient if needed
222
+ if : ${{ matrix.mysqlclient-version != '' }}
223
+ run : poetry run pip install -U mysqlclient=="${{ matrix.mysqlclient-version }}"
222
224
- name : Run Full Unit Tests
223
225
env :
224
226
MYSQL_VERSION : ${{ matrix.mysql-version }}
@@ -293,7 +295,9 @@ jobs:
293
295
poetry run pip install --upgrade pip
294
296
poetry install -E all --with mysql
295
297
poetry run pip install -U "Django~=${{ matrix.django-version }}"
296
- poetry run pip install -U mysqlclient=="${{ matrix.mysqlclient-version }}"
298
+ - name : Install mysqlclient if needed
299
+ if : ${{ matrix.mysqlclient-version != '' }}
300
+ run : poetry run pip install -U mysqlclient=="${{ matrix.mysqlclient-version }}"
297
301
- name : Run Full Unit Tests
298
302
run : |
299
303
poetry run pytest
You can’t perform that action at this time.
0 commit comments