From 0734c0d1879eaa6d288711820b7336fdd2f2690c Mon Sep 17 00:00:00 2001 From: Ross Wightman Date: Tue, 11 Aug 2020 19:04:37 -0700 Subject: [PATCH] Update test workflow --- .github/workflows/tests.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 758af06c..2a952482 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -33,14 +33,14 @@ jobs: pip install pytest pytest-timeout - name: Install torch on mac if: startsWith(matrix.os, 'macOS') - run: pip install torch==${{ matrix.torch }} torchvision==${{ matrix.torchvision }} + run: pip install --no-cache-dir torch==${{ matrix.torch }} torchvision==${{ matrix.torchvision }} - name: Install torch on ubuntu if: startsWith(matrix.os, 'ubuntu') - run: pip install torch==${{ matrix.torch }}+cpu torchvision==${{ matrix.torchvision }}+cpu -f https://download.pytorch.org/whl/torch_stable.html + run: pip install --no-cache-dir torch==${{ matrix.torch }}+cpu torchvision==${{ matrix.torchvision }}+cpu -f https://download.pytorch.org/whl/torch_stable.html - name: Install requirements run: | if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - pip install git+https://github.com/mapillary/inplace_abn.git@v1.0.11 + pip install --no-cache-dir git+https://github.com/mapillary/inplace_abn.git@v1.0.12 - name: Run tests run: | pytest -vv --durations=0 ./tests