also test Ubuntu packages
This commit is contained in:
parent
0dd67b5d44
commit
06d62b42cb
|
@ -2,7 +2,7 @@ name: Test Processing Tools
|
|||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
pip:
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
|
@ -20,7 +20,26 @@ jobs:
|
|||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install pytest pandas scipy h5py vtk matplotlib pyyaml
|
||||
- name: Test with pytest
|
||||
- name: Install and run unit tests
|
||||
run: |
|
||||
python -m pip install ./python --no-deps -vv --use-feature=in-tree-build
|
||||
pytest python
|
||||
|
||||
apt:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install pytest
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install pytest
|
||||
- name: Install dependencies
|
||||
run: >
|
||||
sudo apt-get update &&
|
||||
sudo apt-get install python3-pip python3-pytest python3-pandas python3-scipy
|
||||
python3-h5py python3-vtk7 python3-matplotlib python3-yaml -y
|
||||
- name: Run unit tests
|
||||
run: |
|
||||
PYTHONPATH=${PWD}/python python -m pytest python
|
||||
|
|
Loading…
Reference in New Issue