Skip to content

Merge pull request #21 from tobywf/dependabot/github_actions/dot-gith… #9

Merge pull request #21 from tobywf/dependabot/github_actions/dot-gith…

Merge pull request #21 from tobywf/dependabot/github_actions/dot-gith… #9

Workflow file for this run

name: Check
on:
push:
branches:
- master
- workflow_check
pull_request:
branches:
- master
jobs:
check:
name: Check
runs-on: macos-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
env:
MACOSX_DEPLOYMENT_TARGET: '11.0'
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[dev]
shell: bash
- name: Run checks
run: |
pre-commit run --all-files --show-diff-on-failure
pytest tests.py --hypothesis-show-statistics --verbose
shell: bash