reachy_mini_hermes / ci /github-actions.yml.example
Timbo89's picture
Publish Reachy Mini Hermes v0.1.0
fb5adaf
Raw
History Blame Contribute Delete
791 Bytes
name: CI
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install lightweight test environment
run: |
uv venv
uv pip install -e . --no-deps
uv pip install pytest ruff build httpx mutagen numpy pydantic fastapi aiohttp pyyaml
- name: Lint
run: .venv/bin/ruff check .
- name: Test
run: .venv/bin/pytest
- name: Build distributions
if: matrix.python-version == '3.11'
run: .venv/bin/python -m build