mirror of
https://github.com/rpm-software-management/tito.git
synced 2025-02-23 12:12:47 +00:00
tests: make tox tests working
This commit is contained in:
parent
f39b3d620d
commit
3ec27836f3
2 changed files with 16 additions and 1 deletions
6
.github/workflows/fedora-tox.yml
vendored
6
.github/workflows/fedora-tox.yml
vendored
|
@ -18,12 +18,16 @@ jobs:
|
||||||
uses: fedora-python/tox-github-action@main
|
uses: fedora-python/tox-github-action@main
|
||||||
with:
|
with:
|
||||||
tox_env: ${{ matrix.tox_env }}
|
tox_env: ${{ matrix.tox_env }}
|
||||||
|
dnf_install: python3-rpm
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
tox_env:
|
tox_env:
|
||||||
|
# sync with /tox.ini
|
||||||
|
- py36
|
||||||
- py37
|
- py37
|
||||||
- py310
|
|
||||||
- py311
|
- py311
|
||||||
|
- py312
|
||||||
|
- py313
|
||||||
|
|
||||||
# Use GitHub's Linux Docker host
|
# Use GitHub's Linux Docker host
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
11
tox.ini
11
tox.ini
|
@ -8,3 +8,14 @@ ignore=E124,E125,E127,E128,E501
|
||||||
# Exclude the build directory that distutils creates
|
# Exclude the build directory that distutils creates
|
||||||
exclude=build/*
|
exclude=build/*
|
||||||
max-line-length=120
|
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}
|
||||||
|
|
Loading…
Add table
Reference in a new issue