Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 96122b3

Browse files
authoredApr 21, 2022
[ci] Use numSplits instead of copy pasting test steps (hail-is#11787)
* [ci] Use numSplits instead of copy pasting test steps * change pytest env vars to use run image split vars * delete more remnants * fix job name for split run image
1 parent e1cc5c9 commit 96122b3

File tree

5 files changed

+810
-2677
lines changed

5 files changed

+810
-2677
lines changed
 

‎batch/test/conftest.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ def log_before_after():
1515

1616

1717
def pytest_collection_modifyitems(config, items):
18-
n_splits = int(os.environ.get('PYTEST_SPLITS', '1'))
19-
split_index = int(os.environ.get('PYTEST_SPLIT_INDEX', '-1'))
18+
n_splits = int(os.environ.get('HAIL_RUN_IMAGE_SPLITS', '1'))
19+
split_index = int(os.environ.get('HAIL_RUN_IMAGE_SPLIT_INDEX', '-1'))
2020
if n_splits <= 1:
2121
return
2222
if not (0 <= split_index < n_splits):
There was a problem loading the remainder of the diff.

0 commit comments

Comments
 (0)
Please sign in to comment.