From d00f383ba197a18dd46006b2b298cfd5bbe1cebf Mon Sep 17 00:00:00 2001 From: Brigs Date: Mon, 10 Aug 2026 18:41:50 -0400 Subject: [PATCH] ci: add Windows import smoke test Byte-identical port of ALEAPP's windows_smoke.yml. Imports every artifact module on windows-latest per pull request, catching OS-specific breakage (backslash path separators) that the ubuntu-only jobs cannot see. The script it runs, admin/test/scripts/test_artifact_imports.py, is already in this repo and exercised by the runtime contract on ubuntu. Co-Authored-By: Claude Fable 5 --- .github/workflows/windows_smoke.yml | 31 +++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/windows_smoke.yml diff --git a/.github/workflows/windows_smoke.yml b/.github/workflows/windows_smoke.yml new file mode 100644 index 0000000..1564767 --- /dev/null +++ b/.github/workflows/windows_smoke.yml @@ -0,0 +1,31 @@ +name: Windows Smoke Test + +# Imports every artifact module on Windows to catch OS-specific breakage +# (extracted paths use backslash separators on Windows) that the ubuntu-only +# lint job cannot. This checks importability, not parsing correctness. + +on: + pull_request: + paths: + - '**.py' + - 'requirements.txt' + - '.github/workflows/windows_smoke.yml' + workflow_dispatch: + +jobs: + windows-smoke: + runs-on: windows-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: '3.11' + + - name: Install dependencies + run: python -m pip install --prefer-binary -r requirements.txt + + - name: Import all artifact modules on Windows + run: python admin/test/scripts/test_artifact_imports.py