|
|
@ -30,7 +30,7 @@ jobs:
|
|
|
|
- name: Install testing dependencies
|
|
|
|
- name: Install testing dependencies
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
python -m pip install --upgrade pip
|
|
|
|
python -m pip install --upgrade pip
|
|
|
|
pip install pytest pytest-timeout expecttest pytest-xdist
|
|
|
|
pip install pytest pytest-timeout expecttest
|
|
|
|
- name: Install torch on mac
|
|
|
|
- name: Install torch on mac
|
|
|
|
if: startsWith(matrix.os, 'macOS')
|
|
|
|
if: startsWith(matrix.os, 'macOS')
|
|
|
|
run: pip install --no-cache-dir torch==${{ matrix.torch }} torchvision==${{ matrix.torchvision }}
|
|
|
|
run: pip install --no-cache-dir torch==${{ matrix.torch }} torchvision==${{ matrix.torchvision }}
|
|
|
@ -49,4 +49,4 @@ jobs:
|
|
|
|
LD_PRELOAD: /usr/lib/x86_64-linux-gnu/libtcmalloc.so.4
|
|
|
|
LD_PRELOAD: /usr/lib/x86_64-linux-gnu/libtcmalloc.so.4
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
export PYTHONDONTWRITEBYTECODE=1
|
|
|
|
export PYTHONDONTWRITEBYTECODE=1
|
|
|
|
pytest -vv --durations=0 -n auto ./tests
|
|
|
|
pytest -vv --durations=0 ./tests
|
|
|
|