Skip to content

Merge pull request #22 from convexfi/dependabot/github_actions/action… #34

Merge pull request #22 from convexfi/dependabot/github_actions/action…

Merge pull request #22 from convexfi/dependabot/github_actions/action… #34

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@v1
- 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