From dc7f9fb4adc5b3800b53b7f17e03c6e8ab218ea7 Mon Sep 17 00:00:00 2001 From: Marek Czernek Date: Tue, 24 Sep 2024 15:00:31 +0200 Subject: [PATCH] Skip test_performance in Github --- tests/pytests/scenarios/performance/test_performance.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/pytests/scenarios/performance/test_performance.py b/tests/pytests/scenarios/performance/test_performance.py index 85b92ed986..6319e26ce1 100644 --- a/tests/pytests/scenarios/performance/test_performance.py +++ b/tests/pytests/scenarios/performance/test_performance.py @@ -10,7 +10,13 @@ from salt.version import SaltVersionsInfo, __version__ -pytestmark = [pytest.mark.skip_if_binaries_missing("docker")] +pytestmark = [ + pytest.mark.skip_if_binaries_missing("docker"), + pytest.mark.skipif( + os.environ.get("GITHUB_ACTIONS", "") == "true", + reason="Cannot spawn containers in GH actions run", + ), +] class ContainerMaster(SaltDaemon, master.SaltMaster):