Skip to content

Merge pull request #56 from clarketm/dependabot/github_actions/action… #150

Merge pull request #56 from clarketm/dependabot/github_actions/action…

Merge pull request #56 from clarketm/dependabot/github_actions/action… #150

name: Python package
on: [pull_request, push]
jobs:
build:
strategy:
matrix:
python-version: [3.8, 3.12] # oldest and most recent version supported
runs-on: [macos-latest, ubuntu-latest]
runs-on: ${{ matrix.runs-on }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
make install-deps-dev
- name: Format with black
run: |
make format-check
- name: Lint with flake8
run: |
make lint
- name: Test with pytest
run: |
make test