run_test.sh 297 Bytes
Newer Older
1
2
3
4
5
6
7
#!/usr/bin/env bash

set -e

eval "$(./conda/Scripts/conda.exe 'shell.bash' 'hook')"
conda activate ./env

8
export PYTORCH_TEST_WITH_SLOW='1'
9
python -m torch.utils.collect_env
10
pytest --cov=torchvision --junitxml=test-results/junit.xml -v --durations 20 test --ignore=test/test_datasets_download.py