Skip to content

docs: improve forecasting model search metadata (#1594) #727

docs: improve forecasting model search metadata (#1594)

docs: improve forecasting model search metadata (#1594) #727

Workflow file for this run

name: pytest
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
all-tests:
runs-on: ${{ matrix.os }}
permissions:
contents: read
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-14-xlarge, windows-latest]
python-version: ['3.10', '3.11', '3.12', '3.13']
exclude:
# Ray doesn't have Windows wheels for Python 3.13
- os: windows-latest
python-version: '3.13'
steps:
- name: Clone repo
uses: actions/checkout@v7.0.1
- uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: Install dependencies
run: uv sync --group dev --group aws --extra spark
- name: Override torch and numpy version on MacOS due to compatibility issues with MPS in github runners on newer MacOS versions
if: matrix.os == 'macos-13' || matrix.os == 'macos-14-xlarge'
run: uv pip install --system "torch>=2.0.0,<=2.6.0" "numpy<2.0.0"
- name: Run pytest (macos)
if: runner.os == 'macOS' && matrix.os == 'macos-14-xlarge'
env:
PYTORCH_ENABLE_MPS_FALLBACK: 1
PYTORCH_MPS_HIGH_WATERMARK_RATIO: 0.0
run: uv run pytest --ignore tests/test_common --ignore tests/test_models --ignore tests/test_core.py --no-cov
- name: Run pytest (ubuntu and windows)
if: (matrix.os == 'ubuntu-latest' || matrix.os == 'windows-latest')
run: uv run pytest