python package needs to be built after every push to development/master
This commit is contained in:
parent
a0cb7dced4
commit
351d81cfe5
|
@ -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: |
|
||||
|
|
Loading…
Reference in New Issue