diff options
author | ROUVREAU Vincent <vincent.rouvreau@inria.fr> | 2021-05-19 11:25:56 +0200 |
---|---|---|
committer | ROUVREAU Vincent <vincent.rouvreau@inria.fr> | 2021-05-19 11:25:56 +0200 |
commit | 17a5cb224832c9645de023dc6ab588eccce8a6a1 (patch) | |
tree | eb34665d2c873946bf63f9e1f86bb0e01613f7af /.github/workflows | |
parent | f776e46e43525a4abd0aaeed996a3fcd66ec5c66 (diff) |
Quite strange how to deal with powershell
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/pip-build-windows.yml | 5 | ||||
-rw-r--r-- | .github/workflows/pip-packaging-windows.yml | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/.github/workflows/pip-build-windows.yml b/.github/workflows/pip-build-windows.yml index a35acda3..649b1044 100644 --- a/.github/workflows/pip-build-windows.yml +++ b/.github/workflows/pip-build-windows.yml @@ -48,5 +48,8 @@ jobs: - name: Install and test python wheel run: | cd ${{ github.workspace }} - python -m pip install --user pytest "build/src/python/dist/*.whl" + cd build/src/python/dist/ + Get-ChildItem *.whl | ForEach-Object{python -m pip install --user $_.Name} + cd ${{ github.workspace }} + python -m pip install --user pytest python -m pytest src/python/test/test_alpha_complex.py diff --git a/.github/workflows/pip-packaging-windows.yml b/.github/workflows/pip-packaging-windows.yml index e481d365..2f84cc63 100644 --- a/.github/workflows/pip-packaging-windows.yml +++ b/.github/workflows/pip-packaging-windows.yml @@ -51,7 +51,10 @@ jobs: - name: Install and test python wheel run: | cd ${{ github.workspace }} - python -m pip install --user pytest "build/src/python/dist/*.whl" + cd build/src/python/dist/ + Get-ChildItem *.whl | ForEach-Object{python -m pip install --user $_.Name} + cd ${{ github.workspace }} + python -m pip install --user pytest python -m pytest src/python/test/test_alpha_complex.py - name: Publish on PyPi env: |