Include tests
Resolves: RHEL-45223 Signed-off-by: Štěpán Horáček <shoracek@redhat.com>
This commit is contained in:
parent
79e43659a5
commit
028182cb69
7
gating.yaml
Normal file
7
gating.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- rhel-10
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
||||||
|
|
4
tests/runtest.sh
Executable file
4
tests/runtest.sh
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cd /var/str/source
|
||||||
|
pytest -v test
|
24
tests/tests.yml
Normal file
24
tests/tests.yml
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
- hosts: localhost
|
||||||
|
roles:
|
||||||
|
- role: standard-test-source
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
required_packages:
|
||||||
|
- git
|
||||||
|
- role: standard-test-basic
|
||||||
|
tags:
|
||||||
|
- classic
|
||||||
|
required_packages:
|
||||||
|
- tpm2-tss
|
||||||
|
- tpm2-tss-devel
|
||||||
|
- tpm2-tools
|
||||||
|
- swtpm
|
||||||
|
- python3
|
||||||
|
- dbus-daemon
|
||||||
|
- pytest
|
||||||
|
tests:
|
||||||
|
- intel-tpm2:
|
||||||
|
dir: .
|
||||||
|
run: dbus-run-session ./runtest.sh
|
||||||
|
timeout: 60m
|
||||||
|
|
Loading…
Reference in New Issue
Block a user