Skip to content

Commit 46986b6

Browse files
committed
fix tasks
1 parent 83122bc commit 46986b6

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.evergreen/generated_configs/tasks.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,15 @@ tasks:
1212
- name: test-atlas-data-lake-with_ext
1313
commands:
1414
- func: run tests
15+
vars:
16+
TEST_NAME: data_lake
17+
NO_EXT: "1"
1518
tags: [atlas_data_lake]
1619
- name: test-atlas-data-lake-without_ext
1720
commands:
1821
- func: run tests
22+
vars:
23+
TEST_NAME: data_lake
1924
tags: [atlas_data_lake]
2025

2126
# Aws tests

.evergreen/scripts/generate_config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def zip_cycle(*iterables, empty_default=None):
213213
yield tuple(next(i, empty_default) for i in cycles)
214214

215215

216-
def handle_c_ext(c_ext, expansions):
216+
def handle_c_ext(c_ext, expansions) -> None:
217217
"""Handle c extension option."""
218218
if c_ext == C_EXTS[0]:
219219
expansions["NO_EXT"] = "1"
@@ -971,7 +971,7 @@ def create_atlas_data_lake_tasks():
971971
tasks = []
972972
for c_ext in C_EXTS:
973973
vars = dict(TEST_NAME="data_lake")
974-
vars = handle_c_ext(c_ext, vars)
974+
handle_c_ext(c_ext, vars)
975975
test_func = FunctionCall(func="run tests", vars=vars)
976976
task_name = f"test-atlas-data-lake-{c_ext}"
977977
tasks.append(EvgTask(name=task_name, tags=tags, commands=[test_func]))

0 commit comments

Comments
 (0)