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:
105
105
pyenv install -f << parameters.python_version >>
106
106
pyenv global << parameters.python_version >>
107
107
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
+
108
116
- run :
109
117
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
111
119
112
120
- run :
113
121
name : Install packages
114
- command : pip install .[dev]
122
+ command : venv/bin/ pip install .[dev]
115
123
116
124
- run :
117
125
name : Install cuda related dependencies
118
126
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
121
129
122
130
- run :
123
131
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
125
133
126
134
workflows :
127
135
version : 2
You can’t perform that action at this time.
0 commit comments