Skip to content

Fix Spectral combination #200

Fix Spectral combination

Fix Spectral combination #200

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
jobs:
build:
name: python ${{ matrix.python-version }} on ${{matrix.os}}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- {python-version: "3.11", os: ubuntu-latest}
- {python-version: "3.12", os: ubuntu-latest}
- {python-version: "3.13", os: ubuntu-latest}
- {python-version: "3.14", os: ubuntu-latest}
- {python-version: "3.14", os: macos-latest}
steps:
- uses: actions/checkout@v2
- name: Set up python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Upgrade pip
run: |
python -m pip install --upgrade pip
- name: Install dyson
run: |
python -m pip install wheel
python -m pip install .[dev]
- name: Linting
run: |
ruff check
ruff format --check
mypy dyson/ tests/
- name: Run unit tests
run: |
OMP_NUM_THREADS=1 pytest
- name: Run examples
env:
MPLBACKEND: Agg
run: |
find examples -name "*.py" -print0 | xargs -0 -n1 python
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true