Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
tox_env: ${{ matrix.tox_env }}
strategy:
matrix:
tox_env: [py27, py36, py37, py38, py39, pypy2, pypy3]
tox_env: [py27, py36, py38, py39, py310, py311, py312, py313, py314, pypy2, pypy3]

# Use GitHub's Linux Docker host
runs-on: ubuntu-latest
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ This GitHub action tests a checked-out Python project using
- uses: fedora-python/tox-github-action
with:
# The tox environment to run
# Default: py311 (subject to change as new Python releases come out)
tox_env: py311
# Default: py312 (subject to change as new Python releases come out)
tox_env: py312
```

Add the action to your workflow file, e.g. `.github/workflows/main.yml`,
Expand Down Expand Up @@ -62,6 +62,12 @@ Until version 0.4, this action always used the latest [fedora-python-tox](https:
image. Since version 34.0, the first number in the version (also sometimes
referred to as the "major version") represents the release of Fedora used in the image.

### v40.0

* Uses Fedora 40 as the base container image.
* Python 3.7 is no longer available.
* Python 3.12 is now the default tox environment if none is configured.

### v39.0

* Uses Fedora 39 as the base container image.
Expand Down
4 changes: 2 additions & 2 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: Runs tests with Tox
inputs:
tox_env:
required: true
default: 'py311'
default: 'py312'
description: Tox environment to run the tests on
dnf_install:
required: false
Expand All @@ -16,7 +16,7 @@ inputs:

runs:
using: docker
image: docker://fedorapython/fedora-python-tox:f39
image: docker://fedorapython/fedora-python-tox:f40
env:
TOXENV: ${{ inputs.tox_env }}
DNF_INSTALL: ${{ inputs.dnf_install }}
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ build-backend = "setuptools.build_meta"
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py27,py36,py37,py38,py39,pypy2,pypy3
envlist = py27,py36,py38,py39,py310,py311,py312,py313,py314,pypy2,pypy3
skipsdist = True

[testenv]
deps = pytest >= 3.0.0, <4
deps = pytest >= 3.0.0
commands = pytest test/test.py
"""