Skip to content

Merge pull request #487 from munechika-koyo/feature/API-change-target… #486

Merge pull request #487 from munechika-koyo/feature/API-change-target…

Merge pull request #487 from munechika-koyo/feature/API-change-target… #486

Workflow file for this run

name: CI
on:
push:
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review
jobs:
tests:
if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }}
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"]
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