Skip to content

Commit 97a82b8

Browse files
committed
build: Stop testing against Python 3.8
1 parent 20dc66d commit 97a82b8

File tree

2 files changed

+23
-24
lines changed

2 files changed

+23
-24
lines changed

.github/workflows/ci.yml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches: [master]
66
pull_request:
77
branches:
8-
- '**'
8+
- "**"
99

1010
jobs:
1111
run_tests:
@@ -14,31 +14,31 @@ jobs:
1414
strategy:
1515
matrix:
1616
os: [ubuntu-latest]
17-
python-version: ['3.8', '3.11', '3.12']
17+
python-version: ["3.11", "3.12"]
1818
toxenv: [quality, docs, django42]
1919

2020
steps:
21-
- uses: actions/checkout@v2
22-
- name: setup python
23-
uses: actions/setup-python@v2
24-
with:
25-
python-version: ${{ matrix.python-version }}
21+
- uses: actions/checkout@v2
22+
- name: setup python
23+
uses: actions/setup-python@v2
24+
with:
25+
python-version: ${{ matrix.python-version }}
2626

27-
- name: Install pip
28-
run: pip install -r requirements/pip.txt
27+
- name: Install pip
28+
run: pip install -r requirements/pip.txt
2929

30-
- name: Install Dependencies
31-
run: pip install -r requirements/ci.txt
30+
- name: Install Dependencies
31+
run: pip install -r requirements/ci.txt
3232

33-
- name: Run Tests
34-
env:
35-
TOXENV: ${{ matrix.toxenv }}
36-
run: tox
33+
- name: Run Tests
34+
env:
35+
TOXENV: ${{ matrix.toxenv }}
36+
run: tox
3737

38-
- name: Run Coverage
39-
if: matrix.python-version == '3.8' && matrix.toxenv=='django42'
40-
uses: codecov/codecov-action@v4
41-
with:
42-
token: ${{ secrets.CODECOV_TOKEN }}
43-
flags: unittests
44-
fail_ci_if_error: true
38+
- name: Run Coverage
39+
if: matrix.python-version == '3.11' && matrix.toxenv=='django42'
40+
uses: codecov/codecov-action@v4
41+
with:
42+
token: ${{ secrets.CODECOV_TOKEN }}
43+
flags: unittests
44+
fail_ci_if_error: true

tox.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py{38,311,312}-django{42}
2+
envlist = py{311,312}-django{42}
33

44
[doc8]
55
ignore = D001
@@ -54,4 +54,3 @@ commands =
5454
pydocstyle code_annotations tests setup.py
5555
isort --check-only --diff tests test_utils code_annotations setup.py
5656
make selfcheck
57-

0 commit comments

Comments
 (0)