diff options
author | Vincent Rouvreau <10407034+VincentRouvreau@users.noreply.github.com> | 2021-05-21 06:45:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-21 06:45:49 +0200 |
commit | bcb317bf2dada68dfff02dd6a3fc53c0c70741d6 (patch) | |
tree | 864f609a3624054acc429482dfc4bb58dbe11882 /.github/workflows/pip-build-linux.yml | |
parent | b8b7f4880ceae8d3a65502b86aae0538072253e8 (diff) | |
parent | 732aeb08b3c96ec66a33af85579c740fcb690ec0 (diff) |
Merge pull request #495 from VincentRouvreau/fix_windows_pip_package
Fix windows pip package
Diffstat (limited to '.github/workflows/pip-build-linux.yml')
-rw-r--r-- | .github/workflows/pip-build-linux.yml | 10 |
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 |