Backport gating tests from c9s

Gating tests now enforce `osci.brew-build.tier0.functional` for c8s.
Backport the gating test definition from c9s to c8s.

Resolves: rhbz#2172416
This commit is contained in:
Christian Heimes 2023-04-19 10:31:16 +02:00
parent b39e0982b2
commit 47b8891e95
2 changed files with 25 additions and 0 deletions

2
.gitignore vendored
View File

@ -1,2 +1,4 @@
SOURCES/cffi-1.11.5.tar.gz SOURCES/cffi-1.11.5.tar.gz
/cffi-1.11.5.tar.gz /cffi-1.11.5.tar.gz
/artifacts
/tests/artifacts

23
tests/tests.yml Normal file
View File

@ -0,0 +1,23 @@
---
# 1minutetip --buildroot
- hosts: localhost
tags:
- classic
roles:
- role: standard-test-source
- role: standard-test-basic
required_packages:
- python3-cffi
- python3-pytest
- python3-devel
- gcc
tests:
- unittests:
dir: "source"
# cffi1 and test_version depend on files that are not packaged
run: >-
rm -rf cffi* testing/cffi0/test_version.py &&
pytest-3 testing/cffi0