Skip to content

Commit

Permalink
testmap: split anaconda tests into expensive and other
Browse files Browse the repository at this point in the history
This introduces two test scenarios for anaconda.
  • Loading branch information
KKoukiou authored and martinpitt committed Jul 28, 2024
1 parent 82a3bc6 commit 2a8666c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/testmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
from lib.constants import TEST_OS_DEFAULT

COCKPIT_SCENARIOS = {'networking', 'storage', 'expensive', 'other'}
ANACONDA_SCENARIOS = {'expensive', 'other'}


def contexts(image: str, *scenarios: Iterable[str], repo: str | None = None) -> Sequence[str]:
Expand Down Expand Up @@ -223,7 +224,7 @@ def contexts(image: str, *scenarios: Iterable[str], repo: str | None = None) ->
},
'rhinstaller/anaconda-webui': {
'main': [
'fedora-rawhide-boot',
*contexts('fedora-rawhide-boot', ANACONDA_SCENARIOS),
],
'_manual': [
'fedora-eln-boot',
Expand Down Expand Up @@ -252,11 +253,11 @@ def contexts(image: str, *scenarios: Iterable[str], repo: str | None = None) ->
],
# Anaconda builds in fedora-rawhide and runs tests in fedora-rawhide-boot
"fedora-rawhide": [
"fedora-rawhide-boot@rhinstaller/anaconda-webui"
*contexts("fedora-rawhide-boot", ANACONDA_SCENARIOS, repo='rhinstaller/anaconda-webui'),
],
# Anaconda payload updates can affect tests
"fedora-rawhide-anaconda-payload": [
"fedora-rawhide-boot@rhinstaller/anaconda-webui"
*contexts("fedora-rawhide-boot", ANACONDA_SCENARIOS, repo='rhinstaller/anaconda-webui'),
],
}

Expand Down

0 comments on commit 2a8666c

Please sign in to comment.