Skip to content

Fixes for the new GMRES in SciPy #41

Fixes for the new GMRES in SciPy

Fixes for the new GMRES in SciPy #41

Workflow file for this run

name: Python application
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
strategy:
matrix:
include:
- os: 'ubuntu-latest'
dependencies: ''
- os: 'macos-latest'
dependencies: ''
# - os: 'macos-latest'
# dependencies: 'nlesc/nlesc/trilinos'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install python dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Install Linux dependencies
run: |
sudo apt-get install ${{ matrix.dependencies }}
if: ${{ matrix.os != 'macos-latest' && matrix.dependencies != '' }}
- name: Install macOS dependencies
run: |
brew tap nlesc/nlesc
brew install ${{ matrix.dependencies }}
if: ${{ matrix.os == 'macos-latest' && matrix.dependencies != '' }}
- name: Lint with flake8
run: |
flake8 . --count --show-source --statistics
- name: Test with pytest
run: |
pytest tests