From 9d0614bb9fcd4ef18aeee1d820d2088c52393d66 Mon Sep 17 00:00:00 2001 From: Samuel Date: Fri, 17 Nov 2023 13:30:26 +0100 Subject: [PATCH] Move to Clariden cluster and fix codegen regex (#316) Move cscs ci to clariden --- ci/cscs.yml | 2 +- tools/tests/icon4pygen/test_codegen.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/cscs.yml b/ci/cscs.yml index f96cdfd770..c5e8666feb 100644 --- a/ci/cscs.yml +++ b/ci/cscs.yml @@ -17,7 +17,7 @@ variables: DOCKERFILE: ci/docker/Dockerfile.build .test_template: - extends: .container-runner-hohgant-a100 + extends: .container-runner-clariden-a100 timeout: 2h image: $PERSIST_IMAGE_NAME before_script: diff --git a/tools/tests/icon4pygen/test_codegen.py b/tools/tests/icon4pygen/test_codegen.py index 8f1fac2275..3d85dfa2e5 100644 --- a/tools/tests/icon4pygen/test_codegen.py +++ b/tools/tests/icon4pygen/test_codegen.py @@ -109,7 +109,7 @@ def check_header_codegen(fname: str) -> None: def check_gridtools_codegen(fname: str) -> None: stencil_name = fname.replace(".hpp", "") - patterns = ["#include <.*>", "using .*;", f"inline auto {stencil_name}"] + patterns = ["#include <.*>", "using .*;", f"inline\\s+auto\\s+{stencil_name}"] check_for_matches(fname, patterns)