Skip to content

Merge pull request #3 from Jnelen/develop #2

Merge pull request #3 from Jnelen/develop

Merge pull request #3 from Jnelen/develop #2

Workflow file for this run

name: Tests
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.9', '3.10', '3.11', '3.12']
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 .[develop]
- name: Run linters and tests
run: |
python -m ruff check spectrophore/
python -m pytest tests/