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

Commit 47a4fc2

Browse files
Merge pull request #25 from baseplate-admin/remove
Drop python 3.8
2 parents c72386e + 0447b5d commit 47a4fc2

File tree

3 files changed

+138
-163
lines changed

3 files changed

+138
-163
lines changed

.github/workflows/test_and_merge.yml renamed to .github/workflows/CI.yml

Lines changed: 15 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Full Test and Merge
1+
name: CI
22

33
on:
44
push:
@@ -15,34 +15,28 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
19-
django-version: ['<4.2', '<4.3', '<5.1']
20-
exclude:
21-
- python-version: '3.7'
22-
django-version: '<5.1'
23-
- python-version: '3.8'
24-
django-version: '<5.1'
25-
- python-version: '3.9'
26-
django-version: '<5.1'
27-
- python-version: '3.12'
28-
django-version: '<3.2'
29-
- python-version: '3.12'
30-
django-version: '<3.3'
31-
- python-version: '3.13'
32-
django-version: '>3.3'
18+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
19+
# django-version: ['<4.2', '<4.3', '<5.1']
3320

3421
steps:
3522
- uses: actions/checkout@v3
3623
- name: Set up Python
3724
uses: actions/setup-python@v4
3825
with:
3926
python-version: ${{ matrix.python-version }}
40-
- name: Install core
41-
run: pip install --pre "Django${{ matrix.django-version }}" "pydantic<3"
42-
- name: Install tests
43-
run: pip install pytest pytest-asyncio pytest-django psycopg django-ninja
27+
28+
- name: Install Poetry
29+
uses: snok/install-poetry@v1
30+
with:
31+
virtualenvs-create: true
32+
virtualenvs-in-project: true
33+
34+
- name: Install python dependencies
35+
run: |
36+
poetry install --sync --no-interaction --no-root
37+
4438
- name: Test
45-
run: pytest .
39+
run: poetry run pytest .
4640

4741
merge:
4842
runs-on: ubuntu-latest
@@ -56,7 +50,6 @@ jobs:
5650
PR_URL: ${{github.event.pull_request.html_url}}
5751
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
5852

59-
6053
release:
6154
runs-on: ubuntu-latest
6255
if: "startsWith(github.ref, 'refs/tags/')"

0 commit comments

Comments
 (0)