python package needs to be built after every push to development/master

This commit is contained in:
Daniel Otto de Mentock 2022-10-13 13:01:42 +02:00
parent a0cb7dced4
commit 351d81cfe5
1 changed files with 9 additions and 1 deletions

View File

@ -24,7 +24,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest pandas scipy h5py vtk matplotlib pyyaml
pip install pytest pandas scipy h5py vtk matplotlib pyyaml build
- name: Strip git hash (Unix)
if: runner.os != 'Windows'
@ -39,6 +39,14 @@ jobs:
$VERSION,$_ = $VERSION -Split '-g',2,"simplematch"
$VERSION | Out-File VERSION
- name: Build and Install
if: runner.os != 'Windows'
run: |
cd python
python -m build
python -m pip install dist/*.whl
python -c 'import damask;print(damask.__version__)'
- name: Install and run unit tests (Unix)
if: runner.os != 'Windows'
run: |