Skip to content

feat: Migrate to raysect v0.9 #461

feat: Migrate to raysect v0.9

feat: Migrate to raysect v0.9 #461

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
tests:
name: Run tests
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] #, "3.14"] # TODO: re-enable 3.14 when pyopencl supports it
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Python dependencies
run: python -m pip install --prefer-binary setuptools cython~=3.1 numpy>=2 scipy matplotlib "pyopencl[pocl]>=2022.2.4"
- name: Install Raysect from pypi
run: pip install raysect==0.9.*
- name: Build cherab
run: dev/build.sh
- name: Run tests
run: dev/test.sh