From 4a952bb9c38c985e7d162b3fcdc8859cd12423d7 Mon Sep 17 00:00:00 2001 From: Giacomo Marciani Date: Thu, 17 Oct 2024 15:56:10 +0200 Subject: [PATCH] [Test] Add possibility to run StarCCM+ and OpenFOAM performance test on specific OSes. Signed-off-by: Giacomo Marciani --- tests/integration-tests/configs/openfoam.yaml | 7 ++++++- tests/integration-tests/configs/starccm.yaml | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/tests/integration-tests/configs/openfoam.yaml b/tests/integration-tests/configs/openfoam.yaml index e21a5bb98b..1026e3c937 100644 --- a/tests/integration-tests/configs/openfoam.yaml +++ b/tests/integration-tests/configs/openfoam.yaml @@ -1,8 +1,13 @@ +{% if OSS %} +{%- set OSS = [ OSS ] -%} +{% else %} +{%- set OSS = ["alinux2", "ubuntu2004"] -%} +{% endif %} test-suites: performance_tests: test_openfoam.py::test_openfoam: dimensions: - regions: ["euw1-az1"] # do not move, unless capacity reservation is moved as well instances: ["c5n.18xlarge"] - oss: ["alinux2", "ubuntu2004"] # Ubuntu22.04, RHEL8 and Rocky8 are not supported + oss: {{ OSS }} # Ubuntu22.04, RHEL8 and Rocky8 are not supported schedulers: ["slurm"] diff --git a/tests/integration-tests/configs/starccm.yaml b/tests/integration-tests/configs/starccm.yaml index 5069e6d202..03b5b6d1fe 100644 --- a/tests/integration-tests/configs/starccm.yaml +++ b/tests/integration-tests/configs/starccm.yaml @@ -1,8 +1,13 @@ +{% if OSS %} +{%- set OSS = [ OSS ] -%} +{% else %} +{%- set OSS = ["alinux2", "alinux2023", "ubuntu2204", "ubuntu2004", "rhel8", "rocky8"] -%} +{% endif %} test-suites: performance_tests: test_starccm.py::test_starccm: dimensions: - regions: ["euw1-az1"] # do not move, unless capacity reservation is moved as well instances: ["c5n.18xlarge"] - oss: ["alinux2", "alinux2023", "ubuntu2204", "ubuntu2004", "rhel8", "rocky8"] + oss: {{ OSS }} schedulers: ["slurm"]