Skip to content

Update zenodo.json to match JOSS #474

Update zenodo.json to match JOSS

Update zenodo.json to match JOSS #474

Workflow file for this run

name: Build and test Python package
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ['ubuntu-latest', 'windows-latest'] # 'macos-latest' is not included, see issue 124
python-version: ['3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install build
python -m pip install .[dev]
- name: Build the package
run: python -m build
- name: Run tests
run: pytest tests/