Skip to content

build(deps): bump actions/checkout from 3 to 4 #36

build(deps): bump actions/checkout from 3 to 4

build(deps): bump actions/checkout from 3 to 4 #36

Workflow file for this run

name: riskparity-tests
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 9
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies (Windows)
run: pip install "jax[cpu]===0.3.14" -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 -r requirements.txt
- name: Test with pytest
run: |
pip install -e .
pip install pytest pytest-cov
pytest