From 56f791e05d38455e197d9b72c17c415841543633 Mon Sep 17 00:00:00 2001 From: Vasilis Vryniotis Date: Fri, 20 Nov 2020 09:26:28 +0000 Subject: [PATCH] Turning on JIT tests on CI. --- .circleci/unittest/linux/scripts/run_test.sh | 3 ++- .circleci/unittest/windows/scripts/run_test.sh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.circleci/unittest/linux/scripts/run_test.sh b/.circleci/unittest/linux/scripts/run_test.sh index 22877cd0aac..419b9eb562c 100755 --- a/.circleci/unittest/linux/scripts/run_test.sh +++ b/.circleci/unittest/linux/scripts/run_test.sh @@ -5,5 +5,6 @@ set -e eval "$(./conda/bin/conda shell.bash hook)" conda activate ./env +export PYTORCH_TEST_WITH_SLOW='1' python -m torch.utils.collect_env -pytest --cov=torchvision --junitxml=test-results/junit.xml -v --durations 20 test --ignore=test/test_datasets_download.py \ No newline at end of file +pytest --cov=torchvision --junitxml=test-results/junit.xml -v --durations 20 test --ignore=test/test_datasets_download.py diff --git a/.circleci/unittest/windows/scripts/run_test.sh b/.circleci/unittest/windows/scripts/run_test.sh index 66b0b1c13c8..96d9cbd6b2d 100644 --- a/.circleci/unittest/windows/scripts/run_test.sh +++ b/.circleci/unittest/windows/scripts/run_test.sh @@ -5,5 +5,6 @@ set -e eval "$(./conda/Scripts/conda.exe 'shell.bash' 'hook')" conda activate ./env +export PYTORCH_TEST_WITH_SLOW='1' python -m torch.utils.collect_env -pytest --cov=torchvision --junitxml=test-results/junit.xml -v --durations 20 test --ignore=test/test_datasets_download.py \ No newline at end of file +pytest --cov=torchvision --junitxml=test-results/junit.xml -v --durations 20 test --ignore=test/test_datasets_download.py