Skip to content

Commit

Permalink
Split containers tests on macOS into individual jobs too
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Dubois <[email protected]>
  • Loading branch information
jandubois committed Jan 13, 2025
1 parent 8817257 commit 3c5c3fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/bats/get-tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ def resolve_test(test: str, platform: Platforms) -> Iterator[str]:
"""
# If we can't glob the test, use it as-is.
for test in glob.glob(test) or (test,):
if platform == "mac" and test == "k8s":
if platform == "mac" and (test == "k8s" or test == "containers"):
# The macOS runners on CI are extra slow; for this test suite,
# run each test individually.
for name in glob.glob("k8s/*.bats"):
for name in glob.glob(f"{test}/*.bats"):
yield name.removesuffix(".bats")
else:
yield test.removesuffix(".bats")
Expand Down

0 comments on commit 3c5c3fe

Please sign in to comment.