Skip to content

Upgrade copier to version 9.2.0 #95

Upgrade copier to version 9.2.0

Upgrade copier to version 9.2.0 #95

Workflow file for this run

name: ci
on:
push:
pull_request:
branches:
- main
- dev
defaults:
run:
shell: bash
permissions:
contents: write
jobs:
tests:
strategy:
max-parallel: 4
matrix:
os:
- ubuntu-latest
- macos-latest
python-version:
- "3.9"
- "3.10"
- "3.11"
copier-version:
- "9.2.0"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up PDM
uses: pdm-project/setup-pdm@main
with:
python-version: ${{ matrix.python-version }}
- name: Set variables
id: set_variables
run: |
git config --global user.name "GitHub Action"
git config --global user.email "action@github.com"
git config --global init.defaultBranch main
- name: Install dependencies
run: pip install copier==${{ matrix.copier-version }} copier-templates-extensions
- name: Run tests
run: bash tests/test_generate.sh