It assumed python3.Xt-devel package name and that is not correct, this way, we go for files and we don't care what package they are in. All our Pythons have the -config file, but not PyPys, so we keep that installation optional (unchecked) and we keep the original -devel installation as well.
104 lines
3.5 KiB
YAML
104 lines
3.5 KiB
YAML
---
|
|
- hosts: localhost
|
|
tags:
|
|
- classic
|
|
tasks:
|
|
- dnf:
|
|
name: "*"
|
|
state: latest
|
|
- ansible.builtin.user:
|
|
name: testuser
|
|
|
|
- hosts: localhost
|
|
roles:
|
|
- role: standard-test-basic
|
|
tags:
|
|
- classic
|
|
tests:
|
|
- smoke_default:
|
|
dir: smoke
|
|
run: runuser testuser -c './venv.sh'
|
|
- smoke27:
|
|
dir: smoke
|
|
run: VERSION=2.7 INSTALL_OR_SKIP=true METHOD=virtualenv TOX_REQUIRES="virtualenv<20.22.0" ./venv.sh
|
|
- smoke27_seeder_pip:
|
|
dir: smoke
|
|
run: VERSION=2.7 INSTALL_OR_SKIP=true METHOD=virtualenv-seeder-pip TOX=false ./venv.sh
|
|
- smoke36:
|
|
dir: smoke
|
|
run: runuser testuser -c 'VERSION=3.6 METHOD=venv TOX_REQUIRES="virtualenv<20.22.0" ./venv.sh'
|
|
- smoke37:
|
|
dir: smoke
|
|
run: VERSION=3.7 METHOD=venv INSTALL_OR_SKIP=true ./venv.sh
|
|
- smoke38:
|
|
dir: smoke
|
|
run: VERSION=3.8 METHOD=venv INSTALL_OR_SKIP=true ./venv.sh
|
|
- smoke39:
|
|
dir: smoke
|
|
run: runuser testuser -c 'VERSION=3.9 METHOD=venv ./venv.sh'
|
|
- smoke311:
|
|
dir: smoke
|
|
run: runuser testuser -c 'VERSION=3.11 METHOD=venv CYTHON=false ./venv.sh'
|
|
- smoke312:
|
|
dir: smoke
|
|
run: runuser testuser -c 'VERSION=3.12 METHOD=venv ./venv.sh'
|
|
- smoke314t_optional:
|
|
dir: smoke
|
|
run: VERSION=3.14t METHOD=venv INSTALL_OR_SKIP=true ./venv.sh
|
|
- smoke39_seeder_pip:
|
|
dir: smoke
|
|
run: runuser testuser -c 'VERSION=3.9 METHOD=virtualenv-seeder-pip ./venv.sh'
|
|
- smoke34_optional:
|
|
dir: smoke
|
|
run: VERSION=3.4 METHOD=venv INSTALL_OR_SKIP=true ./venv.sh
|
|
- smoke310_optional:
|
|
dir: smoke
|
|
run: VERSION=3.10 METHOD=venv TOX=false INSTALL_OR_SKIP=true ./venv.sh
|
|
- smoke311_virtualenv_download:
|
|
dir: smoke
|
|
run: VERSION=3.10 METHOD=virtualenv-download TOX=false ./venv.sh
|
|
- smokepypy:
|
|
dir: smoke
|
|
run: runuser testuser -c 'VERSION=2.7 METHOD=none PYTHON=pypy TOX_REQUIRES="virtualenv<20.22.0" ./venv.sh'
|
|
- smokepypy310:
|
|
dir: smoke
|
|
run: runuser testuser -c 'VERSION=3.10 METHOD=venv PYTHON=pypy3.10 ./venv.sh'
|
|
- selftest39:
|
|
dir: selftest
|
|
run: runuser testuser -c 'VERSION=3.9 X="-x test_socket -x test_asyncgen -x test_asyncio -x test_compile -x test_concurrent_futures -x test_itertools -x test_multiprocessing_fork -x test_multiprocessing_forkserver -x test_shutil -x test_time -x test_multiprocessing_spawn -x test_threading -x test_wsgiref" ./parallel.sh'
|
|
- debugtest310:
|
|
dir: selftest
|
|
run: runuser testuser -c 'VERSION=3.10 PYTHON="python3.10d" X="test_ssl" ./parallel.sh'
|
|
- debugflags:
|
|
dir: flags
|
|
run: runuser testuser -c 'python3-debug ./assertflags.py -O0'
|
|
- debugflags_some:
|
|
dir: flags
|
|
run: runuser testuser -c 'python3-debug ./assertflags.py -O0 PY_STDMODULE_CFLAGS'
|
|
- optflags_o3:
|
|
dir: flags
|
|
run: runuser testuser -c 'python3 ./assertflags.py -O3 CFLAGS'
|
|
- marshalparser_compatibility:
|
|
dir: marshalparser
|
|
run: runuser testuser -c 'SAMPLE=10 test_marshalparser_compatibility.sh'
|
|
required_packages:
|
|
- util-linux # for runuser
|
|
- dnf
|
|
- gcc
|
|
- gcc-c++
|
|
- virtualenv
|
|
- python3.6
|
|
- python3.9
|
|
- python3.11
|
|
- python3.12
|
|
- pypy
|
|
- pypy3.10-devel
|
|
- python3-devel
|
|
- pypy-devel
|
|
- python3-tox
|
|
- python3-tkinter
|
|
- python3-test
|
|
- python3-debug
|
|
- python3.10-debug
|
|
- python3-rpm-macros
|
|
- marshalparser
|