Skip to content

Migrate packaging from setup.py to pyproject.toml #65

Migrate packaging from setup.py to pyproject.toml

Migrate packaging from setup.py to pyproject.toml #65

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
branches-ignore: []
jobs:
build-linux:
runs-on: ubuntu-latest
strategy:
max-parallel: 5
matrix:
python: [3.9, '3.10', '3.11', '3.12', '3.13']
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.X
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install the package itself
run: |
pip install .[testing]
- name: Test with pytest
run: |
pytest --cov-report term --cov=spectrum
- name: coveralls
run: |
pip install coveralls
coveralls --service=github
env:
GITHUB_TOKEN: ${{ github.token }}