ci: wip now using hatch build system and updating github actions #38
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
push: | |
branches: [ main, develop ] | |
paths-ignore: | |
- '**/*.md' | |
- '**/*.jpg' | |
- '**/*.gif' | |
- '**/*.png' | |
- 'LICENSE' | |
- 'misc/**' | |
- '**/*.txt' | |
- '.gitignore' | |
- '.python-version' | |
pull_request: | |
branches: [ main ] | |
paths-ignore: | |
- '**/*.md' | |
- '**/*.jpg' | |
- '**/*.gif' | |
- '**/*.png' | |
- 'LICENSE' | |
- 'misc/**' | |
- '**/*.txt' | |
- '.gitignore' | |
- '.python-version' | |
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 --dev | |
- name: Run unit tests | |
run: uv run pytest tests/test_unit.py -v | |
- name: Test version detection | |
run: | | |
uv tool install . | |
ollama-mcp-bridge --version |