Skip to content

Ignore autodocs and setuptools-scm artefacts #1

Ignore autodocs and setuptools-scm artefacts

Ignore autodocs and setuptools-scm artefacts #1

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.9"
- "3.10"
- "3.11"
steps:
- name: Checkout source
uses: actions/checkout@v3
- name: Cache tox
uses: actions/cache@v3
with:
path: .tox
key: tox-${{hashFiles('pyproject.toml') }}
- name: Set up python
uses: actions/setup-python@v4
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