From 351d81cfe541137ec37c4dc293cffb68da2b49fe Mon Sep 17 00:00:00 2001 From: Daniel Otto de Mentock Date: Thu, 13 Oct 2022 13:01:42 +0200 Subject: [PATCH] python package needs to be built after every push to development/master --- .github/workflows/Python.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/Python.yml b/.github/workflows/Python.yml index 2f2a5d111..eeb97682a 100644 --- a/.github/workflows/Python.yml +++ b/.github/workflows/Python.yml @@ -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: |