@@ -55,21 +55,25 @@ jobs:
5555 poetry run python scripts/check_dependencies.py
5656 - name : Build sdist and wheel
5757 run : poetry build
58- - name : Test wheel installation
58+ - name : Test wheel installation on Windows
59+ if : startsWith(matrix.os, 'windows')
5960 run : |
60- if [ "$RUNNER_OS" = "Windows" ]; then
61- for f in dist/*.whl; do pip install "$f"; done
62- else
63- pip install dist/*.whl
64- fi
61+ for f in dist/*.whl; do pip install "$f"; done
6562 pip uninstall -y memoryos
66- - name : Test sdist installation
63+ - name : Test wheel installation on Linux / Mac
64+ if : ${{ !startsWith(matrix.os, 'windows') }}
6765 run : |
68- if [ "$RUNNER_OS" = "Windows" ]; then
69- for f in dist/*.tar.gz; do pip install "$f"; done
70- else
71- pip install dist/*.tar.gz
72- fi
66+ pip install dist/*.whl
67+ pip uninstall -y memoryos
68+ - name : Test sdist installation on Windows
69+ if : startsWith(matrix.os, 'windows')
70+ run : |
71+ for f in dist/*.tar.gz; do pip install "$f"; done
72+ pip uninstall -y memoryos
73+ - name : Test sdist installation on Linux / Mac
74+ if : ${{ !startsWith(matrix.os, 'windows') }}
75+ run : |
76+ pip install dist/*.tar.gz
7377 pip uninstall -y memoryos
7478
7579 - name : Install all dependencies
0 commit comments