Skip to content

Commit

Permalink
Quite strange how to deal with powershell
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentRouvreau committed May 19, 2021
1 parent f776e46 commit 17a5cb2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/pip-build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 4 additions & 1 deletion .github/workflows/pip-packaging-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 17a5cb2

Please sign in to comment.