Skip to content

Commit

Permalink
Use py312 as default
Browse files Browse the repository at this point in the history
  • Loading branch information
ubmarco committed Jan 18, 2024
1 parent 98e3862 commit 9d4a605
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Set up Python 3.11
- name: Set up Python 3.12
uses: actions/setup-python@v2
with:
python-version: 3.11
python-version: 3.12

- name: Install poetry and tox
run: |
Expand Down
10 changes: 5 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,22 @@ commands=
py.test -n auto --tb=long

# Generate coverage report only for Python3.9
[testenv:py10]
[testenv:py12]
commands=
poetry install
py.test -n auto --tb=long --cov=libpdf

[testenv:docs]
envdir = {toxworkdir}/py310
basepython = python3.10
envdir = {toxworkdir}/py312
basepython = python3.12
changedir = docs
commands =
poetry install
sphinx-build -W -b html . _build/html

[testenv:black]
envdir = {toxworkdir}/py310
basepython = python3.10
envdir = {toxworkdir}/py312
basepython = python3.12
commands=
poetry install --no-root
black --check examples libpdf tests
Expand Down

0 comments on commit 9d4a605

Please sign in to comment.