summaryrefslogtreecommitdiff
path: root/.github/workflows/pip-build-linux.yml
diff options
context:
space:
mode:
authorROUVREAU Vincent <vincent.rouvreau@inria.fr>2021-05-20 22:00:29 +0200
committerROUVREAU Vincent <vincent.rouvreau@inria.fr>2021-05-20 22:00:29 +0200
commit732aeb08b3c96ec66a33af85579c740fcb690ec0 (patch)
tree864f609a3624054acc429482dfc4bb58dbe11882 /.github/workflows/pip-build-linux.yml
parentb8b7f4880ceae8d3a65502b86aae0538072253e8 (diff)
parent17a5cb224832c9645de023dc6ab588eccce8a6a1 (diff)
merge and resolve conflicts for upstream/fix_windows_pip_package_3.4.1
Diffstat (limited to '.github/workflows/pip-build-linux.yml')
-rw-r--r--.github/workflows/pip-build-linux.yml10
1 files changed, 7 insertions, 3 deletions
diff --git a/.github/workflows/pip-build-linux.yml b/.github/workflows/pip-build-linux.yml
index 726ed0d5..12979a86 100644
--- a/.github/workflows/pip-build-linux.yml
+++ b/.github/workflows/pip-build-linux.yml
@@ -4,7 +4,7 @@ on: [push, pull_request]
jobs:
build:
- name: build pip wheels
+ name: build pip wheel
runs-on: ubuntu-latest
# cf. https://github.com/GUDHI/gudhi-deploy/blob/main/Dockerfile_for_pip
container: gudhi/pip_for_gudhi
@@ -12,11 +12,15 @@ jobs:
- uses: actions/checkout@v1
with:
submodules: true
- - name: Build wheels for Python 3.9
+ - name: Build wheel for Python 3.9
run: |
mkdir build_39
cd build_39
cmake -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=$PYTHON39/bin/python ..
cd src/python
$PYTHON39/bin/python setup.py bdist_wheel
- auditwheel repair dist/*.whl \ No newline at end of file
+ auditwheel repair dist/*.whl
+ - name: Install and test wheel for Python 3.9
+ run: |
+ $PYTHON39/bin/python -m pip install --user pytest build_39/src/python/dist/*.whl
+ $PYTHON39/bin/python -m pytest src/python/test/test_alpha_complex.py