Sanity/smoke-test: install pytest for ctest as it's in RHEL10 CRB repository
This commit is contained in:
parent
eef550c096
commit
fed7239f8f
1 changed files with 5 additions and 0 deletions
|
|
@ -63,6 +63,11 @@ rlJournalStart
|
|||
rlRun "dnf config-manager --set-enabled beaker-AppStream-source" 0-255
|
||||
fi
|
||||
|
||||
# in RHEL10, pytest is in CRB which is not enabled during tmt preparation phase
|
||||
if rlIsRHEL ">=10"; then
|
||||
rlRun "dnf install -y python3-pytest"
|
||||
fi
|
||||
|
||||
rlFetchSrcForInstalled $PACKAGE
|
||||
if rlIsRHEL "<=7"; then
|
||||
rlRun "yum-builddep -y $PACKAGE*"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue