Skip to content

Merge branch 'main' of https://github.com/convexfi/riskparity.py #44

Merge branch 'main' of https://github.com/convexfi/riskparity.py

Merge branch 'main' of https://github.com/convexfi/riskparity.py #44

Workflow file for this run

name: riskparity-tests
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 9
matrix:
python-version: ["3.9", "3.10", "3.11"]
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- 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 (Windows)
run: pip install "jax[cpu]===0.4.25" -f https://whls.blob.core.windows.net/unstable/index.html --use-deprecated legacy-resolver
if: matrix.os == 'windows-latest'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pybind11>=2.4 numpy jaxlib jax quadprog>=0.1.12 tqdm
- name: Test with pytest
run: |
pip install -e .
pip install pytest pytest-cov
pytest