Skip to content

Code formatting, linting and pre-commit hooks #28

Code formatting, linting and pre-commit hooks

Code formatting, linting and pre-commit hooks #28

Workflow file for this run

name: Test
on:
workflow_dispatch:
pull_request:
push:
branches:
- master
jobs:
build:
strategy:
fail-fast: false
matrix:
platform: [windows-latest, macos-13, ubuntu-latest]
python-version: ["3.8", "3.9", "3.10", "3.11"]
runs-on: ${{ matrix.platform }}
steps:
- 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: |
pip install -U pip
pip install -r requirements-dev.txt
pip install .
shell: bash
- name: Test with pytest
run: |
pytest