Skip to content

Skip test for old scipy #84

Skip test for old scipy

Skip test for old scipy #84

# 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:
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11"]
scipy-version: ['1.8.1', '1.11.3', '1.14.1']
os: [ubuntu-latest]
interface: ['LP64', 'ILP64']
exclude:
- python-version: "3.9"
scipy-version: '1.14.1'
- python-version: "3.11"
scipy-version: '1.8.1'
runs-on: ${{ matrix.os }}
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
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install scipy==${{ matrix.scipy-version }}
python -m pip install numpy pytest coverage mkl
- name: Test with pytest & coverage
run: |
echo $MKL_INTERFACE_LAYER
python -m coverage run -m pytest
env:
MKL_INTERFACE_LAYER: ${{ matrix.interface }}
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v4