Fix rpm-sti-test tests

Fix tests/tests.yaml, they were copied from fedora src.
Run RHEL tests instead.

Signed-off-by: Francisco Trivino <ftrivino@redhat.com>
This commit is contained in:
Francisco Trivino 2024-11-22 15:13:22 +01:00
parent 1cf02823a4
commit 93bfad73fe

View File

@ -1,16 +1,21 @@
---
#
# 1minutetip --buildroot rhel10
#
- hosts: localhost
tags:
- classic
roles:
- role: standard-test-basic
tags:
- classic
repositories:
- repo: "https://src.fedoraproject.org/rpms/pyproject-rpm-macros.git"
dest: "pyproject-rpm-macros"
tests:
- mockbuild_cryptography:
dir: pyproject-rpm-macros/tests
run: fedpkg clone -a python-cryptography && cd python-cryptography && (git switch f$(rpm -q --qf '%{VERSION}' fedora-release-common) || :) && fedpkg sources && ../mocktest.sh python-cryptography
- role: standard-test-source
required_packages:
- fedpkg
- mock
- rust-toolset
- role: standard-test-basic
required_packages:
- python3-setuptools-rust
tests:
# build rust_with_cffi example (requires downloads from crates.io)
- example-rust-with-cffi:
dir: "source/examples/rust_with_cffi"
run: mkdir .cargo && cargo vendor > .cargo/config.toml && python3 setup.py build