Skip to content

Commit 7576780

Browse files
committed
Add pr tag just to rhel8
1 parent 56f52f6 commit 7576780

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

.evergreen/generated_configs/variants.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ buildvariants:
629629
display_name: Test Numpy RHEL8
630630
run_on:
631631
- rhel87-small
632-
tags: [binary, vector]
632+
tags: [binary, vector, pr]
633633
- name: test-numpy-macos
634634
tasks:
635635
- name: .test-numpy

.evergreen/scripts/generate_config.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,8 @@ def create_test_numpy_variants() -> list[BuildVariant]:
358358
tasks = [".test-numpy"]
359359
host = HOSTS[host_name]
360360
tags = ["binary", "vector"]
361+
if host_name == "rhel8":
362+
tags.append("pr")
361363
expansions = dict()
362364
if host_name == "win32":
363365
expansions["IS_WIN32"] = "1"
@@ -1169,14 +1171,7 @@ def create_run_tests_func():
11691171
return "run tests", [setup_cmd, test_cmd]
11701172

11711173

1172-
def create_test_numpy_func_default():
1173-
"""No python version selection"""
1174-
test_cmd = get_subprocess_exec(args=[".evergreen/just.sh", "test-numpy"])
1175-
return "test numpy default", [test_cmd]
1176-
1177-
11781174
def create_test_numpy_func():
1179-
"""Adding TOOLCHAIN_VERSION to environment gets picked up in just.sh"""
11801175
includes = ["TOOLCHAIN_VERSION"]
11811176
test_cmd = get_subprocess_exec(
11821177
include_expansions_in_env=includes, args=[".evergreen/just.sh", "test-numpy"]

0 commit comments

Comments
 (0)