Skip to content

Themes

Themes #588

Workflow file for this run

name: Test Coverage
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-22.04
strategy:
matrix:
python: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
click: [8.0.*, 8.1.*, 8.2.*]
rich: [12.*, 13.*, 14.*]
exclude:
- python: "3.8"
click: 8.2.*
- python: "3.9"
click: 8.2.*
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Set up Python
uses: astral-sh/setup-uv@v6
with:
python-version: ${{ matrix.python }}
activate-environment: true
- name: Install dependencies
run: |
uv pip install ".[dev]"
uv pip install --upgrade "click==$CLICK_VERSION" --prerelease=allow
uv pip install --upgrade "rich==$RICH_VERSION" --prerelease=allow
env:
CLICK_VERSION: ${{ matrix.click }}
RICH_VERSION: ${{ matrix.rich }}
- name: Run tests
run: pytest --cov --cov-report term