Skip to content

More optimization

More optimization #45

Workflow file for this run

name: admmsolver python package
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-latest
numpy-version: 1.16
scipy-version: 1.4
python-version: 3.6
- os: ubuntu-latest
numpy-version: auto
scipy-version: auto
python-version: 3.9
steps:
- uses: actions/checkout@v2
- name: Set up python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install numpy ${{ matrix.numpy-version }}, scipy ${{ matrix.scipy-version }}
if: ${{ matrix.numpy-version != 'auto' }}
run: |
pip install numpy==${{ matrix.numpy-version}} scipy==${{ matrix.scipy-version }}
- name: Install package with testing dependencies
run: |
pip install .[test]
- name: Test with pytest
run: |
pytest
- name: Static type tests
run: |
mypy --ignore-missing-imports test
mypy --ignore-missing-imports src