Unverified Commit 47d76bbd authored by Francisco Massa's avatar Francisco Massa Committed by GitHub
Browse files

Revert "Run CI unittests in parallel (#3445)" (#3480)

This reverts commit 4fcaee0f.
parent 98465692
...@@ -5,8 +5,6 @@ channels: ...@@ -5,8 +5,6 @@ channels:
- conda-forge - conda-forge
dependencies: dependencies:
- pytest - pytest
- pytest-xdist
- pytest-timeout
- pytest-cov - pytest-cov
- codecov - codecov
- pip - pip
......
...@@ -6,20 +6,5 @@ eval "$(./conda/bin/conda shell.bash hook)" ...@@ -6,20 +6,5 @@ eval "$(./conda/bin/conda shell.bash hook)"
conda activate ./env conda activate ./env
export PYTORCH_TEST_WITH_SLOW='1' export PYTORCH_TEST_WITH_SLOW='1'
if [ "${CU_VERSION:-}" == cpu ] ; then
NUMPROCESSES="auto"
export OMP_NUM_THREADS="1"
else
NUMPROCESSES="1"
fi
python -m torch.utils.collect_env python -m torch.utils.collect_env
pytest \ pytest --cov=torchvision --junitxml=test-results/junit.xml -v --durations 20 test --ignore=test/test_datasets_download.py
--numprocesses=$NUMPROCESSES \
--timeout=300 \
--cov=torchvision \
--junitxml=test-results/junit.xml \
--verbose \
--durations 20 \
--ignore=test/test_datasets_download.py \
test
...@@ -5,8 +5,6 @@ channels: ...@@ -5,8 +5,6 @@ channels:
- conda-forge - conda-forge
dependencies: dependencies:
- pytest - pytest
- pytest-xdist
- pytest-timeout
- pytest-cov - pytest-cov
- codecov - codecov
- pip - pip
......
...@@ -6,20 +6,5 @@ eval "$(./conda/Scripts/conda.exe 'shell.bash' 'hook')" ...@@ -6,20 +6,5 @@ eval "$(./conda/Scripts/conda.exe 'shell.bash' 'hook')"
conda activate ./env conda activate ./env
export PYTORCH_TEST_WITH_SLOW='1' export PYTORCH_TEST_WITH_SLOW='1'
if [ "${CU_VERSION:-}" == cpu ] ; then
NUMPROCESSES="auto"
export OMP_NUM_THREADS="1"
else
NUMPROCESSES="1"
fi
python -m torch.utils.collect_env python -m torch.utils.collect_env
pytest \ pytest --cov=torchvision --junitxml=test-results/junit.xml -v --durations 20 test --ignore=test/test_datasets_download.py
--numprocesses=$NUMPROCESSES \
--timeout=300 \
--cov=torchvision \
--junitxml=test-results/junit.xml \
--verbose \
--durations 20 \
--ignore=test/test_datasets_download.py \
test
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment