Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
47d76bbd
Unverified
Commit
47d76bbd
authored
Mar 01, 2021
by
Francisco Massa
Committed by
GitHub
Mar 01, 2021
Browse files
Revert "Run CI unittests in parallel (#3445)" (#3480)
This reverts commit
4fcaee0f
.
parent
98465692
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
36 deletions
+2
-36
.circleci/unittest/linux/scripts/environment.yml
.circleci/unittest/linux/scripts/environment.yml
+0
-2
.circleci/unittest/linux/scripts/run_test.sh
.circleci/unittest/linux/scripts/run_test.sh
+1
-16
.circleci/unittest/windows/scripts/environment.yml
.circleci/unittest/windows/scripts/environment.yml
+0
-2
.circleci/unittest/windows/scripts/run_test.sh
.circleci/unittest/windows/scripts/run_test.sh
+1
-16
No files found.
.circleci/unittest/linux/scripts/environment.yml
View file @
47d76bbd
...
...
@@ -5,8 +5,6 @@ channels:
-
conda-forge
dependencies
:
-
pytest
-
pytest-xdist
-
pytest-timeout
-
pytest-cov
-
codecov
-
pip
...
...
.circleci/unittest/linux/scripts/run_test.sh
View file @
47d76bbd
...
...
@@ -6,20 +6,5 @@ eval "$(./conda/bin/conda shell.bash hook)"
conda activate ./env
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
pytest
\
--numprocesses
=
$NUMPROCESSES
\
--timeout
=
300
\
--cov
=
torchvision
\
--junitxml
=
test-results/junit.xml
\
--verbose
\
--durations
20
\
--ignore
=
test
/test_datasets_download.py
\
test
pytest
--cov
=
torchvision
--junitxml
=
test-results/junit.xml
-v
--durations
20
test
--ignore
=
test
/test_datasets_download.py
.circleci/unittest/windows/scripts/environment.yml
View file @
47d76bbd
...
...
@@ -5,8 +5,6 @@ channels:
-
conda-forge
dependencies
:
-
pytest
-
pytest-xdist
-
pytest-timeout
-
pytest-cov
-
codecov
-
pip
...
...
.circleci/unittest/windows/scripts/run_test.sh
View file @
47d76bbd
...
...
@@ -6,20 +6,5 @@ eval "$(./conda/Scripts/conda.exe 'shell.bash' 'hook')"
conda activate ./env
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
pytest
\
--numprocesses
=
$NUMPROCESSES
\
--timeout
=
300
\
--cov
=
torchvision
\
--junitxml
=
test-results/junit.xml
\
--verbose
\
--durations
20
\
--ignore
=
test
/test_datasets_download.py
\
test
pytest
--cov
=
torchvision
--junitxml
=
test-results/junit.xml
-v
--durations
20
test
--ignore
=
test
/test_datasets_download.py
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment