python-setuptools/tests/tests.yml
Lukáš Zachar c9e997b51a Change the test source location
Change the test source location to support evolving downstream testing
requirements. This is needed both for downstream certification
activities and changes to test development for internal infrastructure
differences.
2024-11-29 12:31:26 +01:00

37 lines
1004 B
YAML

---
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
repositories:
- repo: "https://gitlab.com/redhat/centos-stream/tests/python.git"
dest: "python"
- repo: "https://gitlab.com/redhat/centos-stream/rpms/pyproject-rpm-macros.git"
dest: "pyproject-rpm-macros"
tests:
- smoke312:
dir: python/smoke
run: VERSION=3.12 ./venv.sh
- smoke312_virtualenv:
dir: python/smoke
run: VERSION=3.12 METHOD=virtualenv ./venv.sh
- pyproject_pytest:
dir: pyproject-rpm-macros/tests
run: ./mocktest.sh python-pytest
- pyproject_pluggy:
dir: pyproject-rpm-macros/tests
run: ./mocktest.sh python-pluggy
- import_test:
run: python3 -c "import setuptools"
required_packages:
- https://dl.fedoraproject.org/pub/epel/epel-release-latest-10.noarch.rpm
- gcc
- virtualenv
- python3.12
- python3-devel
- tox
- mock
- rpmdevtools
- rpm-build