Skip to content
This repository was archived by the owner on Apr 26, 2025. It is now read-only.

Commit 6225452

Browse files
Update CI.yml
1 parent 9a87d00 commit 6225452

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

.github/workflows/CI.yml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,29 +16,34 @@ jobs:
1616
strategy:
1717
matrix:
1818
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
19-
django-version: ['<4.2', '<4.3', '<5.1']
19+
# django-version: ['<4.2', '<4.3', '<5.1']
2020
exclude:
2121
- python-version: '3.9'
22-
django-version: '<5.1'
22+
# django-version: '<5.1'
2323
- python-version: '3.12'
24-
django-version: '<3.2'
24+
# django-version: '<3.2'
2525
- python-version: '3.12'
26-
django-version: '<3.3'
26+
# django-version: '<3.3'
2727
- python-version: '3.13'
28-
django-version: '>3.3'
28+
# django-version: '>3.3'
2929

3030
steps:
3131
- uses: actions/checkout@v3
3232
- name: Set up Python
3333
uses: actions/setup-python@v4
3434
with:
3535
python-version: ${{ matrix.python-version }}
36-
- name: Install core
37-
run: pip install --pre "Django${{ matrix.django-version }}" "pydantic<3"
38-
- name: Install tests
39-
run: pip install pytest pytest-asyncio pytest-django psycopg django-ninja
36+
- name: Install Poetry
37+
uses: snok/install-poetry@v1
38+
with:
39+
virtualenvs-create: true
40+
virtualenvs-in-project: true
41+
- name: Install python dependencies
42+
run: |
43+
poetry install --sync --no-interaction --no-root --with test
44+
4045
- name: Test
41-
run: pytest .
46+
run: poetry run pytest .
4247

4348
merge:
4449
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)