From 82be0fb519622d43c23b320afad0c98dc89d1f39 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Thu, 3 Oct 2024 08:39:17 +0200 Subject: [PATCH] tests: make tox tests working --- .github/workflows/fedora-tox.yml | 6 +++++- tox.ini | 11 +++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/fedora-tox.yml b/.github/workflows/fedora-tox.yml index c2532dcb..8af210d5 100644 --- a/.github/workflows/fedora-tox.yml +++ b/.github/workflows/fedora-tox.yml @@ -18,12 +18,16 @@ jobs: uses: fedora-python/tox-github-action@main with: tox_env: ${{ matrix.tox_env }} + dnf_install: python3-dnf strategy: matrix: tox_env: + # sync with /tox.ini + - py36 - py37 - - py310 - py311 + - py312 + - py313 # Use GitHub's Linux Docker host runs-on: ubuntu-latest diff --git a/tox.ini b/tox.ini index 42585570..ef40c28a 100644 --- a/tox.ini +++ b/tox.ini @@ -8,3 +8,14 @@ ignore=E124,E125,E127,E128,E501 # Exclude the build directory that distutils creates exclude=build/* max-line-length=120 + + +[tox] +# sync with /.github/workflows/fedora-tox.yml +envlist = py{36,37,311,312,313} +skipsdist = True + + +[testenv] +deps = nose +commands = nosetests {posargs}