Make STI CI work: Drop other Pythons and pipenv, add EPEL, etc.
Not only are the removed Pythons not available in c9s, testing with other Pythons is redundant because only Python 3.9 uses the wheel built from this component. pipenv was retired in Fedora and it was never branched for EPEL 9. python3-tox was renamed to tox before it was added to EPEL 9. EPEL is required to: - use mock - test integration with virtualenv and tox Additionally, use c9s tests of pyproject-rpm-macros, rawhide tests might use features not yet synced to c9s. Don't run pyproject/clikit test, not enough dependencies in EPEL 9.
This commit is contained in:
parent
f3400cce6a
commit
5766dabfcf
@ -7,56 +7,16 @@
|
|||||||
repositories:
|
repositories:
|
||||||
- repo: "https://src.fedoraproject.org/tests/python.git"
|
- repo: "https://src.fedoraproject.org/tests/python.git"
|
||||||
dest: "python"
|
dest: "python"
|
||||||
- repo: "https://src.fedoraproject.org/rpms/pyproject-rpm-macros.git"
|
- repo: "https://gitlab.com/redhat/centos-stream/rpms/pyproject-rpm-macros.git"
|
||||||
dest: "pyproject-rpm-macros"
|
dest: "pyproject-rpm-macros"
|
||||||
|
version: "c9s"
|
||||||
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
|
|
||||||
- pipenv:
|
|
||||||
run: pipenv --three && pipenv install six
|
|
||||||
- pyproject_pytest:
|
- pyproject_pytest:
|
||||||
dir: pyproject-rpm-macros/tests
|
dir: pyproject-rpm-macros/tests
|
||||||
run: ./mocktest.sh python-pytest
|
run: ./mocktest.sh python-pytest
|
||||||
@ -66,24 +26,15 @@
|
|||||||
- pyproject_pluggy:
|
- pyproject_pluggy:
|
||||||
dir: pyproject-rpm-macros/tests
|
dir: pyproject-rpm-macros/tests
|
||||||
run: ./mocktest.sh python-pluggy
|
run: ./mocktest.sh python-pluggy
|
||||||
- pyproject_clikit:
|
|
||||||
dir: pyproject-rpm-macros/tests
|
|
||||||
run: ./mocktest.sh python-clikit
|
|
||||||
- pip_install_upgrade
|
- pip_install_upgrade
|
||||||
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
|
|
||||||
- python2-devel
|
|
||||||
- python3-devel
|
- python3-devel
|
||||||
- python3-tox
|
- tox
|
||||||
- pipenv
|
|
||||||
- mock
|
- mock
|
||||||
- rpmdevtools
|
- rpmdevtools
|
||||||
- rpm-build
|
- rpm-build
|
||||||
|
Loading…
Reference in New Issue
Block a user