Skip to content

Commit 802b8b9

Browse files
committed
Update tox and GA config
1 parent bf1eeaf commit 802b8b9

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

.github/workflows/tests.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,15 @@ on:
33
push:
44
branches:
55
- main
6+
- master
67
paths-ignore:
78
- 'docs/**'
89
- '*.md'
910
- '*.rst'
1011
pull_request:
1112
branches:
1213
- main
14+
- master
1315
jobs:
1416
tests:
1517
name: ${{ matrix.name }}
@@ -18,10 +20,14 @@ jobs:
1820
fail-fast: false
1921
matrix:
2022
include:
21-
- {name: '3.10', python: '3.10', tox: 'py310,py-babelex,py-no-babel'}
23+
- {name: '3.12', python: '3.12', tox: 'py312'}
24+
- {name: '3.11', python: '3.11', tox: 'py311'}
25+
- {name: '3.10', python: '3.10', tox: 'py310'}
2226
- {name: '3.9', python: '3.9', tox: py39}
2327
- {name: '3.8', python: '3.8', tox: py38}
2428
- {name: '3.7', python: '3.7', tox: py37}
29+
- {name: 'Coverage', python: '3.12', tox: coverage}
30+
- {name: 'Lint', python: '3.12', tox: flake8}
2531
steps:
2632
- uses: actions/checkout@v3
2733
- uses: actions/setup-python@v4

tox.ini

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,25 @@
11
[tox]
2-
envlist = py37, py38, py39, py310
2+
envlist = py37, py38, py39, py310, py311, py312, coverage, flake8
33
skip_missing_interpreters = true
44
skipsdist = true
55

66
[testenv]
7+
deps =
8+
-r test_requirements.txt
79
commands =
810
coverage run --source=flask_dropzone setup.py test
911

1012
[testenv:coverage]
11-
basepython = python3.10
13+
deps =
14+
-r test_requirements.txt
1215
commands =
1316
coverage report
1417
deps =
1518
coverage
1619

1720
[testenv:flake8]
18-
basepython = python3.10
21+
deps =
22+
-r test_requirements.txt
1923
commands =
2024
flake8 flask_dropzone test_flask_dropzone.py
2125
deps =

0 commit comments

Comments
 (0)