Skip to content

Commit 36d29df

Browse files
committed
test: skip POSIX release packaging on Windows
- mark release-package.sh integration coverage as POSIX-only - keep captured stdout and stderr in failures for easier CI diagnosis
1 parent ac052a5 commit 36d29df

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/test_release.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
from pathlib import Path
1212
from types import SimpleNamespace
1313

14+
import pytest
15+
1416
import git_auto_sync
1517
from git_auto_sync import cli, release
1618

@@ -174,6 +176,7 @@ def fake_download(url, dest):
174176
assert config.read_text(encoding="utf-8") == "keep me\n"
175177

176178

179+
@pytest.mark.skipif(os.name == "nt", reason="release-package.sh requires a POSIX shell")
177180
def test_release_package_excludes_python_cache_files():
178181
repo = Path(__file__).resolve().parents[1]
179182
env = os.environ.copy()

0 commit comments

Comments
 (0)