Skip to content

Add issue templates to this project & the template #931

Add issue templates to this project & the template

Add issue templates to this project & the template #931

Workflow file for this run

name: Run template tests
on:
push:
branches:
- main
- "renovate/**"
pull_request:
jobs:
test-template:
name: test ${{ matrix.os }} py${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- macos-latest
- ubuntu-latest
- windows-latest
python-version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
steps:
- name: Checkout source
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Cache tox
uses: actions/cache@v4
with:
path: .tox
key: test-${{ hashFiles('pyproject.toml') }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: pyproject.toml
- name: Install dependencies
run: python -m pip install tox tox-gh-actions
- name: Run tests
run: tox
env:
OS: ${{ matrix.os }}