python-pip/tests/tests.yml
Miro Hrončok 5766dabfcf 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.
2024-02-15 05:42:27 +01:00

44 lines
1.2 KiB
YAML

---
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
repositories:
- repo: "https://src.fedoraproject.org/tests/python.git"
dest: "python"
- repo: "https://gitlab.com/redhat/centos-stream/rpms/pyproject-rpm-macros.git"
dest: "pyproject-rpm-macros"
version: "c9s"
tests:
- smoke39:
dir: python/smoke
run: VERSION=3.9 ./venv.sh
- smoke39_virtualenv:
dir: python/smoke
run: VERSION=3.9 METHOD=virtualenv ./venv.sh
- pyproject_pytest:
dir: pyproject-rpm-macros/tests
run: ./mocktest.sh python-pytest
- pyproject_entrypoints:
dir: pyproject-rpm-macros/tests
run: ./mocktest.sh python-entrypoints
- pyproject_pluggy:
dir: pyproject-rpm-macros/tests
run: ./mocktest.sh python-pluggy
- pip_install_upgrade
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
- virtualenv
- python3.9
- python3-devel
- tox
- mock
- rpmdevtools
- rpm-build
- grep
- util-linux
- shadow-utils