Skip to content

πŸ“¦βž• Add click as explicit dependency to template #251

πŸ“¦βž• Add click as explicit dependency to template

πŸ“¦βž• Add click as explicit dependency to template #251

Workflow file for this run

name: Tests
on:
push:
branches: [main, develop]
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
COLUMNS: 200
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
persist-credentials: false
- uses: pre-commit/[email protected]
copier-template-tester:
runs-on: ubuntu-latest
strategy:
matrix:
uv-version: ["0.5.19", "latest"]
steps:
- uses: actions/checkout@v5
with:
persist-credentials: false
- uses: astral-sh/setup-uv@v6
with:
version: ${{ matrix.uv-version }}
# set pre-commit cache
- name: set PY
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> "$GITHUB_ENV"
- uses: actions/cache@v4
with:
path: ~/.cache/pre-commit
key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
- name: Configure Git
run: |
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
git config --global user.name "${{ github.actor }}"
- name: Run copier-template-tester
run: uv run ctt