Skip to content

Commit

Permalink
test: xfail skopeo integration tests on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
lengau committed Jun 10, 2024
1 parent 258c538 commit 7e977e6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/integration/utils/test_skopeo.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import contextlib
import os
import pathlib
import platform
import shutil

import pytest
Expand All @@ -28,7 +29,12 @@
pytestmark = [
pytest.mark.skipif(
"CI" not in os.environ and not shutil.which("skopeo"), reason="skopeo not found in PATH"
)
),
pytest.mark.xfail(
platform.system().lower() not in ("linux", "darwin"),
reason="Don't necessarily have skopeo on non Linux/mac platforms.",
strict=False, # Allow them to pass anyway.
),
]


Expand Down

0 comments on commit 7e977e6

Please sign in to comment.