Skip to content

Merge pull request #65 from pkienzle/fix-allow-wtvol-percent #48

Merge pull request #65 from pkienzle/fix-allow-wtvol-percent

Merge pull request #65 from pkienzle/fix-allow-wtvol-percent #48

Workflow file for this run

name: Test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ${{ matrix.cfg.os }}
strategy:
matrix:
cfg:
#- { os: ubuntu-20.04, py: 2.7 }
#- { os: ubuntu-20.04, py: 3.6 }
- { os: ubuntu-latest, py: 3.8 }
- { os: ubuntu-latest, py: 3.11, doc: 1 }
- { os: windows-latest, py: 3.11 }
- { os: macos-latest, py: 3.11 }
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.cfg.py }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.cfg.py }}
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
python -m pip install wheel setuptools
python -m pip install numpy scipy matplotlib pytest pytest-cov
- name: Test with pytest
run: |
pytest -v
- name: check that the docs build (linux only)
if: matrix.cfg.doc == 1
run: |
python -m pip install sphinx
make -j 4 -C doc/sphinx SPHINXOPTS="-W --keep-going" html