Skip to content

update readme, refs #9 #46

update readme, refs #9

update readme, refs #9 #46

Workflow file for this run

name: CI
on: [push, pull_request]
permissions:
contents: read
jobs:
test:
runs-on: macos-13
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: pyproject.toml
- name: Install dependencies
run: |
pip install '.[test,dev]'
- name: Run tests
run: |
make test
lint:
runs-on: ubuntu-latest # lint only requires pre-commit, so not requires macOS
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies # runs on ubuntu, so only install pre-commit
run: |
pip install pre-commit
- name: Run pre-commit
run: make pre-commit