Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 72 additions & 0 deletions .github/workflows/windows-smoke.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
name: Windows smoke

on:
pull_request:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please make this a reusable workflow_call lane and invoke it from .github/workflows/ci.yml. Current CI explicitly centralizes pull-request/push triggers and only aggregates its declared lanes; this standalone workflow would neither join all-checks-pass nor run after a push to main.

paths:
- ".github/workflows/windows-smoke.yml"
- "pyproject.toml"
- "uv.lock"
- "hermes_cli/**"
- "agent/**"
- "tools/**"
- "tests/**"
- "*.py"
workflow_dispatch:

permissions:
contents: read

jobs:
windows-smoke:
name: Windows smoke / Python ${{ matrix.python-version }}
runs-on: windows-latest
timeout-minutes: 20

strategy:
fail-fast: false
matrix:
python-version: ["3.11"]

steps:
- name: Checkout
uses: actions/checkout@v4

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Repository policy requires Actions to be pinned by full commit SHA with a version comment (AGENTS.md:565-570). Please pin this action and actions/setup-python below, matching the existing workflow convention.


- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip

- name: Show platform diagnostics
shell: pwsh
run: |
python -VV
python -c "import os, platform, sys; print(sys.platform); print(platform.platform()); print(os.getcwd())"
Get-ChildItem Env: | Where-Object { $_.Name -match '^(OS|PROCESSOR_ARCHITECTURE|SYSTEMROOT|WINDIR|COMSPEC|USERPROFILE|TEMP|TMP)$' } | Sort-Object Name

- name: Install Hermes in editable mode
shell: pwsh
run: |
python -m pip install --upgrade pip
python -m pip install -e .[dev]

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use the locked CI install path (uv sync --locked --python 3.11 --extra all --extra dev) rather than an unlocked pip install -e .[dev]. Current test CI uses that environment at .github/workflows/tests.yml:83-90; it is the supported dependency set this Windows smoke job should validate.


- name: CLI import and help smoke
shell: pwsh
run: |
hermes --help
hermes config --help
hermes doctor --help
python -c "import hermes_cli.main, run_agent, model_tools; print('imports ok')"

- name: Targeted Windows-safe tests
shell: pwsh
env:
PYTHONUTF8: "1"
run: |
python -m pytest `
tests/test_hermes_constants.py `
tests/test_timezone.py `
tests/test_utils_truthy_values.py `
tests/test_packaging_metadata.py `
-o addopts= `
-q