Skip to content

test: enable python suite on windows#1395

Open
MukundaKatta wants to merge 1 commit into
google:mainfrom
MukundaKatta:codex/enable-python-tests-on-windows
Open

test: enable python suite on windows#1395
MukundaKatta wants to merge 1 commit into
google:mainfrom
MukundaKatta:codex/enable-python-tests-on-windows

Conversation

@MukundaKatta

Copy link
Copy Markdown

Fixes #789.

Summary

  • add windows-latest to the Python test-suite matrix
  • skip symlink and chmod permission tests on Windows where those assumptions are platform-specific
  • make the slow big-file timeout test skip when signal.alarm / SIGALRM are unavailable, avoiding Windows mypy failures while keeping the timeout active on POSIX platforms

Verification

  • uv run --python 3.11 ruff check
  • uv run --python 3.11 ruff format --check tests/test_magika_python_module.py
  • uv run --python 3.11 mypy src/magika tests
  • uv run --python 3.11 pytest tests -m "not slow"

@MukundaKatta MukundaKatta marked this pull request as ready for review May 15, 2026 02:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

python tests suite fails on windows

1 participant