mirror of
https://github.com/catppuccin/python.git
synced 2026-02-19 16:15:05 +08:00
30 lines
687 B
YAML
30 lines
687 B
YAML
on:
|
|
push:
|
|
paths:
|
|
- "**.py"
|
|
- "pyproject.toml"
|
|
- "uv.lock"
|
|
|
|
name: test
|
|
|
|
jobs:
|
|
test:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-python@v6
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
- uses: astral-sh/setup-uv@v5
|
|
with:
|
|
version: "0.6.3"
|
|
python-version: "${{ matrix.python-version }}"
|
|
enable-cache: true
|
|
cache-dependency-glob: "uv.lock"
|
|
- run: uv sync --all-extras
|
|
- run: uv run pytest --cov catppuccin
|