Skip to content

Misc. dev cleanup

Misc. dev cleanup #967

Workflow file for this run

name: Test Examples
on: [push, pull_request]
permissions: {}
jobs:
examples:
runs-on: ubuntu-22.04
permissions:
contents: read
strategy:
matrix:
python: ["3.8", "3.13"]
click: [8.0.*, 8.1.*, 8.2.*, 8.3.*]
exclude:
- python: "3.8"
click: 8.2.*
- python: "3.8"
click: 8.3.*
steps:
- name: Check out the repo
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
persist-credentials: false
- name: Set up Python
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
with:
python-version: ${{ matrix.python }}
activate-environment: true
- name: Install dependencies
run: |
uv pip install --editable "."
uv pip install --upgrade "click==$CLICK_VERSION"
env:
CLICK_VERSION: ${{ matrix.click }}
- name: Test examples
run: |
for f in examples/*py
do
echo -e "\n\n$f"
python "${f}" --help || exit 1;
done