Skip to content

test(cli): command-set test tolerates plugin-added commands (#101) #74

test(cli): command-set test tolerates plugin-added commands (#101)

test(cli): command-set test tolerates plugin-added commands (#101) #74

Workflow file for this run

name: CI
on:
push:
branches: [main]
paths-ignore:
- 'website/**'
- 'design/**'
pull_request:
branches: [main]
paths-ignore:
- 'website/**'
- 'design/**'
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Test (Python ${{ matrix.python-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync --extra dev
- name: Lint with ruff
run: uv run ruff check src/
- name: Run tests
run: uv run pytest -q