Skip to content

Cleanup CI and Support NumPy 2.0 #150

Cleanup CI and Support NumPy 2.0

Cleanup CI and Support NumPy 2.0 #150

Workflow file for this run

name: Pre-commit checks
on:
push:
# Run this workflow on all branches because it is good to flag these errors
# and this workflow is "cheap"
branches:
- '*'
pull_request:
branches:
- master
jobs:
precommit:
name: Pre-commit checks
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
steps:
- uses: actions/checkout@master
- uses: actions/setup-python@v5
name: Install Python
with:
python-version: '3.9'
- name: Install package with dev dependencies
run: |
python -m pip install .[dev]
- name: Pre-commit checks
run: |
pre-commit run --all-files