Skip to content

[JTH] gpytorch ExactGP implementation working as RBF model #145

[JTH] gpytorch ExactGP implementation working as RBF model

[JTH] gpytorch ExactGP implementation working as RBF model #145

Workflow file for this run

name: Python Tests
on:
pull_request:
branches:
- develop
types:
- opened
- synchronize
jobs:
# Separate linting job for faster feedback
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[tests]
- name: Lint with ruff
run: |
ruff check bluemath_tk/ || true # TODO: Remove || true once docstrings are fixed
python-tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.11", "3.12"]
fail-fast: false
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[all,tests]
- name: Run tests
run: |
pytest -s -v tests