Skip to content

Fix Windows system-path detection and make CLI help assertions robust #12

Fix Windows system-path detection and make CLI help assertions robust

Fix Windows system-path detection and make CLI help assertions robust #12

Workflow file for this run

name: Tests
on:
push:
branches: [ '**' ]
tags-ignore: [ '**' ]
pull_request:
branches: [ '**' ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install uv
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Install dependencies
run: |
uv pip install --system -e ".[dev]"
- name: Run linting
run: |
uv run ruff check src tests
- name: Run type checking
run: |
uv run mypy src --ignore-missing-imports --no-error-summary || true
- name: Run unit tests
run: |
uv run pytest tests/ -v --tb=short -q --durations=10
- name: Upload test results
uses: actions/upload-artifact@v4
if: failure()
with:
name: test-results
path: |
.pytest_cache/
.hypothesis/
retention-days: 7