File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -150,12 +150,20 @@ jobs:
150150 cd prevent-cli
151151 uv build
152152
153- - name : Create test venv and install packages
153+ - name : Create test venv and install packages (Linux/macOS)
154+ if : runner.os != 'Windows'
155+ run : |
156+ python -m venv test-env
157+ ./test-env/bin/pip install codecov-cli/dist/*.whl prevent-cli/dist/*.whl
158+ ./test-env/bin/pip install pytest pytest-cov pytest-asyncio pytest-env pytest-mock
159+
160+ - name : Create test venv and install packages (Windows)
161+ if : runner.os == 'Windows'
154162 run : |
155163 python -m venv test-env
156- pip install codecov-cli/dist/*.whl prevent-cli/dist/*.whl
157- pip install pytest pytest-cov pytest-asyncio pytest-env pytest-mock
158- shell : bash
164+ test-env\Scripts\ pip install codecov-cli/dist/*.whl prevent-cli/dist/*.whl
165+ test-env\Scripts\ pip install pytest pytest-cov pytest-asyncio pytest-env pytest-mock
166+ shell : cmd
159167
160168 - name : Test with pytest (Linux/macOS)
161169 if : runner.os != 'Windows'
You can’t perform that action at this time.
0 commit comments