CI: Make STI tests compatible with EL 9

Related: rhbz#2124281
This commit is contained in:
Miro Hrončok 2022-09-13 11:34:20 +02:00
parent e0272a3392
commit 9885e7f7bf

View File

@ -10,51 +10,12 @@
- repo: "https://src.fedoraproject.org/rpms/pyproject-rpm-macros.git" - repo: "https://src.fedoraproject.org/rpms/pyproject-rpm-macros.git"
dest: "pyproject-rpm-macros" dest: "pyproject-rpm-macros"
tests: tests:
- smoke34_optional:
dir: python/smoke
run: VERSION=3.4 INSTALL_OR_SKIP=true ./venv.sh
- smoke35:
dir: python/smoke
run: VERSION=3.5 ./venv.sh
- smoke36:
dir: python/smoke
run: VERSION=3.6 ./venv.sh
- smoke37:
dir: python/smoke
run: VERSION=3.7 ./venv.sh
- smoke38:
dir: python/smoke
run: VERSION=3.8 ./venv.sh
- smoke39: - smoke39:
dir: python/smoke dir: python/smoke
run: VERSION=3.9 ./venv.sh run: VERSION=3.9 ./venv.sh
- smoke310:
dir: python/smoke
run: VERSION=3.10 ./venv.sh
- smoke27:
dir: python/smoke
run: VERSION=2.7 METHOD=virtualenv ./venv.sh
- smoke34_virtualenv_optional:
dir: python/smoke
run: VERSION=3.4 METHOD=virtualenv INSTALL_OR_SKIP=true ./venv.sh
- smoke35_virtualenv:
dir: python/smoke
run: VERSION=3.5 METHOD=virtualenv ./venv.sh
- smoke36_virtualenv:
dir: python/smoke
run: VERSION=3.6 METHOD=virtualenv ./venv.sh
- smoke37_virtualenv:
dir: python/smoke
run: VERSION=3.7 METHOD=virtualenv ./venv.sh
- smoke38_virtualenv:
dir: python/smoke
run: VERSION=3.8 METHOD=virtualenv ./venv.sh
- smoke39_virtualenv: - smoke39_virtualenv:
dir: python/smoke dir: python/smoke
run: VERSION=3.9 METHOD=virtualenv ./venv.sh run: VERSION=3.9 METHOD=virtualenv ./venv.sh
- smoke310_virtualenv:
dir: python/smoke
run: VERSION=3.10 METHOD=virtualenv ./venv.sh
- pyproject_pytest: - pyproject_pytest:
dir: pyproject-rpm-macros/tests dir: pyproject-rpm-macros/tests
run: ./mocktest.sh python-pytest run: ./mocktest.sh python-pytest
@ -62,17 +23,13 @@
dir: pyproject-rpm-macros/tests dir: pyproject-rpm-macros/tests
run: ./mocktest.sh python-pluggy run: ./mocktest.sh python-pluggy
required_packages: required_packages:
- 'https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm'
- 'https://dl.fedoraproject.org/pub/epel/epel-next-release-latest-9.noarch.rpm'
- gcc - gcc
- virtualenv - virtualenv
- python2.7
- python3.5
- python3.6
- python3.7
- python3.8
- python3.9 - python3.9
- python3.10
- python3-devel - python3-devel
- python3-tox - tox
- mock - mock
- rpmdevtools - rpmdevtools
- rpm-build - rpm-build