Skip to content

Renovate: pre-commit/mirrors-mypy to v1.13.0 (#23) #54

Renovate: pre-commit/mirrors-mypy to v1.13.0 (#23)

Renovate: pre-commit/mirrors-mypy to v1.13.0 (#23) #54

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
paths-ignore:
- "**.md"
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.11"
- "3.12"
steps:
- name: Checkout source
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Cache tox
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4
with:
path: .tox
key: tox-${{hashFiles('pyproject.toml') }}
- name: Set up python
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # 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: Test with tox
run: tox