Skip to content

Commit f699150

Browse files
authored
Merge pull request #163 from cclauss/patch-1
tox.ini: py37,py38,py39,py310,py311
2 parents 4ef98ac + 487c281 commit f699150

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

.github/workflows/tox.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: tox
2+
on: [push, pull_request]
3+
jobs:
4+
tox:
5+
strategy:
6+
fail-fast: false
7+
# max-parallel: 4
8+
matrix:
9+
os: [ubuntu-latest] # [macos-latest, ubuntu-latest, windows-latest]
10+
# python: ['3.7', '3.8', '3.9', '3.10', '3.11'] # '2.7' tests fail
11+
runs-on: ${{ matrix.os }}
12+
steps:
13+
- uses: actions/checkout@v3
14+
- uses: actions/setup-python@v4
15+
with:
16+
python-version: |
17+
'3.7'
18+
'3.8'
19+
'3.9'
20+
'3.10'
21+
'3.11'
22+
# python-version: ${{ matrix.python }}
23+
- run: pip install --upgrade pip
24+
- run: pip install tox
25+
- run: tox

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py27,py33,py34,py35,py36,py37,py38
2+
envlist = py27,py37,py38,py39,py310,py311
33

44
[testenv]
55
commands = python setup.py test

0 commit comments

Comments
 (0)