test: cover macOS in the unit matrix

This commit is contained in:
dannyward630 2026-06-13 12:57:40 +02:00
parent 2dfa4e7bd7
commit 2e5b044233
2 changed files with 3 additions and 1 deletions

View file

@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
os: [ubuntu-latest, windows-latest, macos-15, macos-15-intel]
python: ["3.11", "3.12"]
steps:

View file

@ -321,6 +321,8 @@ def test_ensure_binary_accepts_binary_mode_checksums(tmp_path, monkeypatch):
# Force the platform branch the test mocks:
monkeypatch.setattr("sys.platform", "win32")
import platform
monkeypatch.setattr(platform, "machine", lambda: "AMD64")
out = ensure_binary()
# No RuntimeError means the parser accepted the `*`-prefixed key.
assert out.exists()