Skip to content

Commit

Permalink
Merge pull request #110 from h2020charisma/tox-python-versions
Browse files Browse the repository at this point in the history
ops: update tox Python versions
  • Loading branch information
kerberizer authored Apr 20, 2024
2 parents e7faa2b + 390acb9 commit 04b0f67
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.9"]
python-version: ["3.11"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand Down
12 changes: 7 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
[tox]
envlist = py39, mypy, flake8, docs
envlist = py311, mypy, flake8, docs

[gh-actions]
python =
3.9: py39, mypy, flake8, docs
3.9: py39
3.10: py310
3.11: py311, mypy, flake8, docs
3.12: py312

[flake8]
max-line-length = 120
Expand All @@ -18,18 +20,18 @@ changedir = {toxinidir}
commands = pytest --rootdir=tests {posargs}

[testenv:mypy]
basepython = python3.9
basepython = python3.11
deps = mypy
commands = mypy src tests

[testenv:flake8]
basepython = python3.9
basepython = python3.11
deps = flake8
commands = flake8 src tests

[testenv:docs]
deps = pdoc
basepython = python3.9
basepython = python3.11
commands =
pdoc ramanchada2 -o {toxinidir}/docs/_build --no-browser --search --math --docformat numpy --show-source

Expand Down

0 comments on commit 04b0f67

Please sign in to comment.