2021-09-02 02:41:39 +05:30
|
|
|
name: Test Processing Tools
|
2021-09-02 02:22:45 +05:30
|
|
|
on: [push]
|
2021-09-02 02:41:39 +05:30
|
|
|
|
2021-09-02 02:22:45 +05:30
|
|
|
jobs:
|
2021-09-02 02:41:39 +05:30
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
python-version: [3.7, 3.8, 3.9]
|
|
|
|
os: [ubuntu-latest, macos-latest]
|
|
|
|
|
2021-09-02 02:22:45 +05:30
|
|
|
steps:
|
2021-09-02 02:41:39 +05:30
|
|
|
- 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
|
2021-09-02 02:22:45 +05:30
|
|
|
run: |
|
2021-09-02 02:41:39 +05:30
|
|
|
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
|