From d52ce44614b6cac43ed914c09f85c70167b66c0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-No=C3=ABl=20Grad?= Date: Mon, 22 May 2023 15:56:27 +0200 Subject: [PATCH 1/2] CI: Fix CI runner tags --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5e1815f5f9..ae4108ca6a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -251,6 +251,7 @@ cuda11-maxset: - espresso - cuda - numa + - avx2 tutorials-samples-maxset: <<: *global_job_definition @@ -279,6 +280,7 @@ tutorials-samples-maxset: - espresso - cuda - numa + - avx2 tutorials-samples-default: <<: *global_job_definition @@ -305,6 +307,7 @@ tutorials-samples-default: - espresso - cuda - numa + - avx2 only: - schedules @@ -360,6 +363,7 @@ tutorials-samples-no-gpu: tags: - espresso - no-cuda + - avx2 only: - schedules From 14f5fb0254c8bc798fc7a9e45d0a29c09d1c3214 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-No=C3=ABl=20Grad?= Date: Mon, 22 May 2023 15:57:42 +0200 Subject: [PATCH 2/2] CI: Make tutorial tests deterministic --- testsuite/scripts/tutorials/test_raspberry_electrophoresis.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testsuite/scripts/tutorials/test_raspberry_electrophoresis.py b/testsuite/scripts/tutorials/test_raspberry_electrophoresis.py index 1ee362d01d..caf6023894 100644 --- a/testsuite/scripts/tutorials/test_raspberry_electrophoresis.py +++ b/testsuite/scripts/tutorials/test_raspberry_electrophoresis.py @@ -19,6 +19,8 @@ import importlib_wrapper import numpy as np +np.random.seed(42) + tutorial, skipIfMissingFeatures = importlib_wrapper.configure_and_import( "@TUTORIALS_DIR@/raspberry_electrophoresis/raspberry_electrophoresis.py", box_l=16., num_iterations=100, num_steps_per_iteration=80)