Skip to content

Commit 9c21017

Browse files
author
James Boulton
committed
update to test later python versions
1 parent e3492c7 commit 9c21017

2 files changed

Lines changed: 18 additions & 29 deletions

File tree

.github/workflows/tests.yml

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,23 @@
11
name: Tests
2-
32
on:
43
- push
54
- pull_request
6-
75
jobs:
86
test:
97
runs-on: ${{ matrix.os }}
108
strategy:
119
matrix:
1210
os: [ubuntu-latest]
13-
python-version: ["3.8", "3.9", "3.10"]
14-
11+
python-version: ["3.11", "3.12", "3.13"]
1512
steps:
16-
- uses: actions/checkout@v3
17-
- name: Set up Python ${{ matrix.python-version }}
18-
uses: actions/setup-python@v4
19-
with:
20-
python-version: ${{ matrix.python-version }}
21-
- name: Install dependencies
22-
run: |
23-
python -m pip install --upgrade pip
24-
pip install tox tox-gh-actions
25-
- name: Test with tox
26-
run: tox
13+
- uses: actions/checkout@v3
14+
- name: Set up Python ${{ matrix.python-version }}
15+
uses: actions/setup-python@v4
16+
with:
17+
python-version: ${{ matrix.python-version }}
18+
- name: Install dependencies
19+
run: |
20+
python -m pip install --upgrade pip
21+
pip install tox tox-gh-actions
22+
- name: Test with tox
23+
run: tox

tox.ini

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[tox]
22
minversion = 3.8.0
3-
envlist = py38, py39, flake8
3+
envlist = py311, py312, py313, flake8
44
isolated_build = true
55

66
[gh-actions]
77
python =
8-
3.8: py38, flake8
9-
3.9: py39
10-
3.10: py310
8+
3.11: py311
9+
3.12: py312
10+
3.13: py313, flake8
1111

1212
[testenv]
1313
setenv =
@@ -18,14 +18,6 @@ commands =
1818
pytest --basetemp={envtmpdir}
1919

2020
[testenv:flake8]
21-
basepython = python3.8
21+
basepython = python3.13
2222
deps = flake8
23-
commands = flake8 dashio Examples tests utilities
24-
25-
26-
#[testenv:mypy]
27-
#basepython = python3.6
28-
#deps =
29-
# -r{toxinidir}/requirements_dev.txt
30-
#commands = mypy dashio
31-
23+
commands = flake8 dashio Examples tests utilities

0 commit comments

Comments
 (0)