Adjust the CI tests to work for Python 3.12 on RHEL 8, add gating config

This commit is contained in:
Miro Hrončok 2024-01-09 12:54:20 +01:00
parent 5cacf964e6
commit 4f6d836882
2 changed files with 15 additions and 42 deletions

7
gating.yaml Normal file
View File

@ -0,0 +1,7 @@
--- !Policy
product_versions:
- rhel-8
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

View File

@ -4,47 +4,13 @@
- role: standard-test-basic - role: standard-test-basic
tags: tags:
- classic - classic
repositories:
- repo: "https://src.fedoraproject.org/tests/python.git"
dest: "python"
- repo: "https://src.fedoraproject.org/rpms/pyproject-rpm-macros.git"
dest: "pyproject-rpm-macros"
tests: tests:
- smoke27: - smoke_version:
dir: python/smoke dir: .
run: VERSION=2.7 METHOD=virtualenv ./venv.sh run: wheel-3.12 version
- smoke36: - smoke_import:
dir: python/smoke dir: .
run: VERSION=3.6 METHOD=virtualenv ./venv.sh run: python3.12 -c 'import wheel'
- smoke37_optional:
dir: python/smoke
run: VERSION=3.7 METHOD=virtualenv INSTALL_OR_SKIP=true ./venv.sh
- smoke38:
dir: python/smoke
run: VERSION=3.8 METHOD=virtualenv ./venv.sh
- smoke39:
dir: python/smoke
run: VERSION=3.9 METHOD=virtualenv ./venv.sh
- smoke310:
dir: python/smoke
run: VERSION=3.10 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
required_packages: required_packages:
- gcc - python3.12
- virtualenv - python3.12-wheel
- python2.7
- python3.6
- python3.8
- python3.9
- python3.10-devel
- python2-devel
- python3-devel
- python3-tox
- mock
- rpmdevtools
- rpm-build