mirror of
https://github.com/shadoll/moma.git
synced 2026-08-28 11:33:25 +00:00
- Updated `DEVELOP.md` to reflect CI testing on Python 3.12. - Changed prerequisites in `INSTALL.md` to require Python 3.12 or higher. - Modified `README.md` to specify Python 3.12 as the minimum requirement. - Updated `pyproject.toml` and `uv.lock` to require Python 3.12.
39 lines
713 B
YAML
39 lines
713 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
|
|
jobs:
|
|
test:
|
|
name: Test
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install uv
|
|
uses: astral-sh/setup-uv@v5
|
|
with:
|
|
version: "latest"
|
|
|
|
- name: Set up Python 3.12
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.12"
|
|
|
|
- name: Install system dependencies
|
|
run: sudo apt-get install -y libmediainfo-dev
|
|
|
|
- name: Install dependencies
|
|
run: uv sync --extra dev
|
|
|
|
- name: Run tests
|
|
run: uv run pytest
|
|
|
|
- name: Type check
|
|
run: uv run mypy src/ --ignore-missing-imports
|