Skip to content

Commit

Permalink
Tune skip conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov committed Oct 23, 2024
1 parent 0f3a5c8 commit 42819fc
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions tests/unit/test_batch_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,12 +250,9 @@ async def _fake_run_cli(*args: str) -> None:


@pytest.mark.xfail(
condition=sys.platform == "win32",
reason="ssh-agent config action does not properly work on Windows runners",
)
@pytest.mark.skipif(
"GITHUB_USER" in os.environ,
reason="TODO: setup ssh private key for fetching from external github repo",
condition=sys.platform == "win32" or "GITHUB_USER" in os.environ,
reason="ssh-agent config action does not properly work on Windows runners, \n"
"TODO: setup ssh private key for fetching from external github repo",
)
async def test_check_image_refs_unique_gh(
batch_cl_factory: BatchClFactory,
Expand Down

0 comments on commit 42819fc

Please sign in to comment.