Skip to content

Commit 47d76bb

Browse files
authored
Revert "Run CI unittests in parallel (#3445)" (#3480)
This reverts commit 4fcaee0.
1 parent 9846569 commit 47d76bb

File tree

4 files changed

+2
-36
lines changed

4 files changed

+2
-36
lines changed

.circleci/unittest/linux/scripts/environment.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ channels:
55
- conda-forge
66
dependencies:
77
- pytest
8-
- pytest-xdist
9-
- pytest-timeout
108
- pytest-cov
119
- codecov
1210
- pip

.circleci/unittest/linux/scripts/run_test.sh

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,5 @@ eval "$(./conda/bin/conda shell.bash hook)"
66
conda activate ./env
77

88
export PYTORCH_TEST_WITH_SLOW='1'
9-
if [ "${CU_VERSION:-}" == cpu ] ; then
10-
NUMPROCESSES="auto"
11-
export OMP_NUM_THREADS="1"
12-
else
13-
NUMPROCESSES="1"
14-
fi
15-
169
python -m torch.utils.collect_env
17-
pytest \
18-
--numprocesses=$NUMPROCESSES \
19-
--timeout=300 \
20-
--cov=torchvision \
21-
--junitxml=test-results/junit.xml \
22-
--verbose \
23-
--durations 20 \
24-
--ignore=test/test_datasets_download.py \
25-
test
10+
pytest --cov=torchvision --junitxml=test-results/junit.xml -v --durations 20 test --ignore=test/test_datasets_download.py

.circleci/unittest/windows/scripts/environment.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ channels:
55
- conda-forge
66
dependencies:
77
- pytest
8-
- pytest-xdist
9-
- pytest-timeout
108
- pytest-cov
119
- codecov
1210
- pip

.circleci/unittest/windows/scripts/run_test.sh

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,5 @@ eval "$(./conda/Scripts/conda.exe 'shell.bash' 'hook')"
66
conda activate ./env
77

88
export PYTORCH_TEST_WITH_SLOW='1'
9-
if [ "${CU_VERSION:-}" == cpu ] ; then
10-
NUMPROCESSES="auto"
11-
export OMP_NUM_THREADS="1"
12-
else
13-
NUMPROCESSES="1"
14-
fi
15-
169
python -m torch.utils.collect_env
17-
pytest \
18-
--numprocesses=$NUMPROCESSES \
19-
--timeout=300 \
20-
--cov=torchvision \
21-
--junitxml=test-results/junit.xml \
22-
--verbose \
23-
--durations 20 \
24-
--ignore=test/test_datasets_download.py \
25-
test
10+
pytest --cov=torchvision --junitxml=test-results/junit.xml -v --durations 20 test --ignore=test/test_datasets_download.py

0 commit comments

Comments
 (0)