File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ jobs:
106106 uses : actions/checkout@v6
107107
108108 - name : Install lint dependencies
109- run : pip install --no-cache-dir flake8==7.3.0 reuse==5.1.0
109+ run : pip install --no-cache-dir --user flake8==7.3.0 reuse==5.1.0
110110
111111 - name : Run flake8
112112 run : flake8
Original file line number Diff line number Diff line change @@ -29,10 +29,13 @@ RUN add-apt-repository -y ppa:deadsnakes/ppa && \
2929COPY test/requirements.txt /tmp/requirements-test.txt
3030COPY docs/requirements.txt /tmp/requirements-docs.txt
3131
32- RUN pip install --no-cache-dir setuptools wheel build
33- RUN pip install --no-cache-dir \
32+ RUN pip install --no-cache-dir --user setuptools wheel build
33+ RUN pip install --no-cache-dir --user \
3434 -r /tmp/requirements-test.txt \
3535 -r /tmp/requirements-docs.txt
36+
37+ # Add user site-packages to PATH
38+ ENV PATH="/root/.local/bin:$PATH"
3639ENV CUDA_HOME="/usr/local/cuda"
3740ENV PATH="$PATH:/usr/local/cuda/bin"
3841ENV LD_LIBRARY_PATH="/usr/local/cuda/lib64:${LD_LIBRARY_PATH}"
You can’t perform that action at this time.
0 commit comments