Skip to content

Commit 7b7aa3c

Browse files
committed
git config and undo path change
1 parent f8c5834 commit 7b7aa3c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/test-linux-cpu.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,17 @@ jobs:
4040
VERSION: cpu
4141
CUDATOOLKIT: cpuonly
4242
run: |
43-
. ~/miniconda3/etc/profile.d/conda.sh
43+
# . ~/miniconda3/etc/profile.d/conda.sh
4444
# Needed for JPEG library detection as setup.py detects conda presence by running `shutil.which('conda')`
45-
export PATH=~/miniconda3/bin:$PATH
45+
# export PATH=~/miniconda3/bin:$PATH
4646
set -ex
4747
# conda create -yp ${ENV_NAME} python=${PY_VERS} numpy libpng jpeg scipy
4848
# conda run -p ${ENV_NAME} conda install -y -c "pytorch-${CHANNEL}" -c nvidia "pytorch-${CHANNEL}"::pytorch[build="*${VERSION}*"] "${CUDATOOLKIT}"
4949
# conda run -p ${ENV_NAME} python3 setup.py develop
5050
# conda run -p ${ENV_NAME} python3 -mpip install pytest pytest-mock av
5151
${CONDA_RUN} conda install -y numpy libpng jpeg scipy
5252
${CONDA_RUN} conda install -y -c "pytorch-${CHANNEL}" -c nvidia "pytorch-${CHANNEL}"::pytorch[build="*${VERSION}*"] "${CUDATOOLKIT}"
53+
git config --global --add safe.directory /__w/vision/vision
5354
${CONDA_RUN} python3 setup.py develop
5455
${CONDA_RUN} python3 -mpip install pytest pytest-mock av
5556
- name: Run tests

0 commit comments

Comments
 (0)