Skip to content

Fix MyBinder with Docker #17

Fix MyBinder with Docker

Fix MyBinder with Docker #17

Workflow file for this run

name: Test
on:
workflow_dispatch:
pull_request:
push:
tags:
- "*"
branches:
- master
jobs:
test:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
python-version: ['3.8', '3.9', '3.10']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Setup headless display
uses: pyvista/setup-headless-display-action@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Intall dependencies
run: pip install -r requirements.txt
- name: Test
run: |
pytest -v --cov=omfvista .
coverage xml -o coverage.xml
- name: Test notebook
run: pytest -v --nbval-lax --current-env --disable-warnings Example.ipynb
- uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.xml
verbose: true