Skip to content

Commit

Permalink
Merge pull request #245 from thewtex/ci-macos
Browse files Browse the repository at this point in the history
ENH: GitHub Actions testing for macOS
  • Loading branch information
thewtex authored Jan 12, 2020
2 parents 42c42ae + 913b8aa commit bdae757
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ on: [push,pull_request]
jobs:
build:

runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 4
matrix:
os: [ubuntu-latest, macos-latest]
python-version: [3.5, 3.6, 3.7]

steps:
Expand All @@ -21,7 +22,7 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade setuptools wheel
pip install -r requirements.txt -r requirements-dev.txt
pip install -r requirements.txt -r requirements-dev.txt PySide2
- name: Install package and extension
run: |
python -m pip install -e .
Expand All @@ -31,6 +32,8 @@ jobs:
python -m pip install jupyterlab
jupyter labextension install @jupyter-widgets/jupyterlab-manager
jupyter labextension install ./js
env:
MPLBACKEND: Qt5Agg
- name: Lint with flake8
run: |
python -m pip install flake8
Expand All @@ -42,6 +45,8 @@ jobs:
run: |
python -m pip install pytest
python -m pytest --tb=long --verbose --deselect tests/test_transform_types.py::test_vtkpolydata_to_geometry
env:
MPLBACKEND: Qt5Agg
- name: Test package generation and installation
run: |
python setup.py sdist
Expand Down

0 comments on commit bdae757

Please sign in to comment.