Skip to content

fix git authorship complaints in the Continuous Integration environment #16

fix git authorship complaints in the Continuous Integration environment

fix git authorship complaints in the Continuous Integration environment #16

Workflow file for this run

name: Test Template Instantiation
on: [push]
jobs:
test_template:
runs-on: ubuntu-latest
strategy:
matrix:
vcs: [hg, git]
steps:
- name: Check out repository
uses: actions/checkout@v5
- name: Set up python
uses: actions/setup-python@v6
with:
python-version-file: 'pyproject.toml'
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
version: "0.9.8"
enable-cache: true
- name: Install dependencies
run: uv sync --locked --no-install-project
- name: Set authorship for git
if: matrix.vcs == 'git'
run: |
git config --global init.defaultBranch main
git config --global user.name "GitHub Actions"
git config --global user.email "[email protected]"
- name: Test template instantiation
run: uv run make test
env:
VCS: ${{ matrix.vcs }}
- name: Minimize uv cache
run: uv cache prune --ci