File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -105,23 +105,31 @@ jobs:
105105 pyenv install -f << parameters.python_version >>
106106 pyenv global << parameters.python_version >>
107107
108+ - run :
109+ name : Create virtual environment
110+ command : python -m venv venv
111+
112+ - run :
113+ name : Activate virtual environment
114+ command : . venv/bin/activate
115+
108116 - run :
109117 name : Setup pip
110- command : python -m pip install --upgrade pip setuptools wheel
118+ command : venv/bin/ python -m pip install --upgrade pip setuptools wheel
111119
112120 - run :
113121 name : Install packages
114- command : pip install .[dev]
122+ command : venv/bin/ pip install .[dev]
115123
116124 - run :
117125 name : Install cuda related dependencies
118126 command : |
119- pip install pylibcugraph-cu12 --extra-index-url https://pypi.nvidia.com
120- pip install nx-cugraph-cu12 --extra-index-url https://pypi.nvidia.com
127+ venv/bin/ pip install pylibcugraph-cu12 --extra-index-url https://pypi.nvidia.com
128+ venv/bin/ pip install nx-cugraph-cu12 --extra-index-url https://pypi.nvidia.com
121129
122130 - run :
123131 name : Run local gpu tests
124- command : pytest tests/test.py -k "test_gpu" --run-gpu-tests
132+ command : venv/bin/ pytest tests/test.py -k "test_gpu" --run-gpu-tests
125133
126134workflows :
127135 version : 2
You can’t perform that action at this time.
0 commit comments