Skip to content

Commit cd7df78

Browse files
committed
try fix CI testing
1 parent 460c0ca commit cd7df78

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ jobs:
113113
run: |
114114
poetry config virtualenvs.in-project true
115115
poetry run pip install --upgrade pip
116-
poetry add python@^${{ matrix.python-version }}
116+
sed -i 's/^python = .*/python = "${{ matrix.python-version }}"/' pyproject.toml
117117
poetry add django@^${{ matrix.django-version }}
118118
poetry add django-filter@^${{ matrix.filter-version }} --optional
119119
poetry add djangorestframework@${{ matrix.drf-version }} --optional
@@ -206,7 +206,7 @@ jobs:
206206
run: |
207207
poetry config virtualenvs.in-project true
208208
poetry run pip install --upgrade pip
209-
poetry add python@^${{ matrix.python-version }}
209+
sed -i 's/^python = .*/python = "${{ matrix.python-version }}"/' pyproject.toml
210210
poetry add django@^${{ matrix.django-version }}
211211
poetry add django-filter@^${{ matrix.filter-version }} --optional
212212
poetry add djangorestframework@${{ matrix.drf-version }} --optional
@@ -299,7 +299,7 @@ jobs:
299299
run: |
300300
poetry config virtualenvs.in-project true
301301
poetry run pip install --upgrade pip
302-
poetry add python@^${{ matrix.python-version }}
302+
sed -i 's/^python = .*/python = "${{ matrix.python-version }}"/' pyproject.toml
303303
poetry add django@^${{ matrix.django-version }}
304304
poetry add django-filter@^${{ matrix.filter-version }} --optional
305305
poetry add djangorestframework@${{ matrix.drf-version }} --optional
@@ -403,7 +403,7 @@ jobs:
403403
run: |
404404
poetry config virtualenvs.in-project true
405405
poetry run pip install --upgrade pip
406-
poetry add python@^${{ matrix.python-version }}
406+
sed -i 's/^python = .*/python = "${{ matrix.python-version }}"/' pyproject.toml
407407
poetry add django@^${{ matrix.django-version }}
408408
poetry add django-filter@^${{ matrix.filter-version }} --optional
409409
poetry add djangorestframework@${{ matrix.drf-version }} --optional
@@ -515,7 +515,7 @@ jobs:
515515
run: |
516516
poetry config virtualenvs.in-project true
517517
poetry run pip install --upgrade pip
518-
poetry add python@^${{ matrix.python-version }}
518+
sed -i 's/^python = .*/python = "${{ matrix.python-version }}"/' pyproject.toml
519519
poetry add django@^${{ matrix.django-version }}
520520
poetry add django-filter@^${{ matrix.filter-version }} --optional
521521
poetry add djangorestframework@${{ matrix.drf-version }} --optional

0 commit comments

Comments
 (0)