DAMASK_EICMD/.github/workflows/.github-actions-demo.yml

27 lines
724 B
YAML

name: Test Processing Tools
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
os: [ubuntu-latest, macos-latest]
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 dependencies
run: |
python -m pip install --upgrade pip
pip install pytest pandas scipy h5py vtk matplotlib pyyaml
- name: Test with pytest
run: |
python -m pip install ./python --no-deps -vv --use-feature=in-tree-build
pytest python