Skip to content

Merge pull request #22 from LemonBoy/mkl_search_path #35

Merge pull request #22 from LemonBoy/mkl_search_path

Merge pull request #22 from LemonBoy/mkl_search_path #35

# 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.7, 3.8, 3.9]
os: [macos-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v2
- 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 scipy pytest coverage
- name: Test with pytest & coverage
run: |
python -m coverage run -m pytest
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v1