Skip to content

skip running pre-commit for python 3.8 since shed no longer supports it #32

skip running pre-commit for python 3.8 since shed no longer supports it

skip running pre-commit for python 3.8 since shed no longer supports it #32

Workflow file for this run

name: Tests
on:
- push
- pull_request
jobs:
test:
runs-on: ${{ matrix.platform }}
strategy:
matrix:
platform: [ ubuntu-latest, macos-latest, windows-latest ]
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install .[test]
- name: Run Pre-commit
if: ${{ matrix.python-version != '3.8' }}
run: pre-commit run --all-files --show-diff-on-failure
- name: Run pytest
run: pytest