Skip to content

Commit

Permalink
fix setup.py and CI
Browse files Browse the repository at this point in the history
  • Loading branch information
MrTango committed Nov 11, 2024
1 parent fc9cba2 commit 566fefe
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
1 change: 0 additions & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ jobs:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
os:
- ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand Down
20 changes: 15 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,16 @@ envlist =
py38-lint
py39-lint
py310-lint
py311-lint
black-check
docs
py{310,39,38}-packagetests
py{311,310,39,38}-packagetests
py{38}-skeletontests-Plone{52}-template-addon
py{310,39}-skeletontests-Plone{60}-template-addon
py{311,39}-skeletontests-Plone{60}-template-addon
py{38}-skeletontests-Plone{52}-template-addon_all
py{310,39}-skeletontests-Plone{60}-template-addon_all
py{310,39}-skeletontests-Plone{60}-template-addon_theme_barceoneta
py{38,39,310}-skeletontests-Plone{60}-template-addon_mockup_pattern
py{311,39}-skeletontests-Plone{60}-template-addon_all
py{311,39}-skeletontests-Plone{60}-template-addon_theme_barceoneta
py{311,39}-skeletontests-Plone{60}-template-addon_mockup_pattern
coverage-report

skip_missing_interpreters = True
Expand All @@ -24,6 +25,7 @@ python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311

[testenv]
usedevelop = True
Expand All @@ -34,6 +36,7 @@ basepython:
py38: python3.8
py39: python3.9
py310: python3.10
py311: python3.11

commands =
mkdir -p {toxinidir}/_build/reports/coverage {toxinidir}/_build/reports/pytest
Expand Down Expand Up @@ -170,6 +173,13 @@ deps = {[lint]deps}
commands = {[lint]commands}
allowlist_externals = {[lint]allowlist_externals}

[testenv:py311-lint]
basepython = python3.11
skip_install = true
deps = {[lint]deps}
commands = {[lint]commands}
allowlist_externals = {[lint]allowlist_externals}

[testenv:black-check]
basepython = python3.10
skip_install = True
Expand Down

0 comments on commit 566fefe

Please sign in to comment.