Skip to content

Fix pip syntax

Fix pip syntax #41

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: sparse_dot_mkl CI
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10"]
scipy-version: ['1.0.0', '1.11.3']
os: [macos-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v3
- name: Install conda python & MKL
run: |
sudo chown -R $(whoami) $CONDA
echo $CONDA/bin >> $GITHUB_PATH
$CONDA/bin/conda install mkl python=${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade numpy pytest coverage
python -m pip install scipy==${{ matrix.scipy-version }}
- name: Test with pytest & coverage
run: |
python -m coverage run -m pytest
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v3