Skip to content

ci: wip now using hatch build system and updating github actions #33

ci: wip now using hatch build system and updating github actions

ci: wip now using hatch build system and updating github actions #33

Workflow file for this run

name: Tests

Check failure on line 1 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / Tests

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml: Anchors are not currently supported. Remove the anchor 'ignore-paths'
on:
push:
branches: [ main, develop ]
paths-ignore: &ignore-paths
- '**/*.md'
- '**/*.jpg'
- '**/*.gif'
- '**/*.png'
- 'LICENSE'
- 'misc/**'
- '**/*.txt'
- '.gitignore'
- '.python-version'
pull_request:
branches: [ main ]
paths-ignore: *ignore-paths
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: astral-sh/setup-uv@v5
- run: uv sync --extra test
- name: Run unit tests
run: uv run pytest tests/test_unit.py -v
- name: Test version detection
run: |
uv tool install ollama-mcp-bridge
uv run python -c "from ollama_mcp_bridge import __version__; print(f'Detected version: {__version__}')"