Skip to content
Snippets Groups Projects
Commit f694e82b authored by aticig's avatar aticig
Browse files

Allow to run with single tox environment


Change-Id: Ic77729d86449daf401602baf3fb35563aa87e10a
Signed-off-by: aticig's avatarGulsum Atici <gulsum.atici@canonical.com>
parent 69dbd587
No related branches found
No related tags found
No related merge requests found
......@@ -14,6 +14,6 @@
# limitations under the License.
set -e
echo "Launching tox"
tox --parallel=auto
tox
#######################################################################################
# Copyright ETSI Contributors and Others.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#######################################################################################
---
other:
- |
Running several tox environment parallely causes failures during stage tests frequently.
Although the reason is not clear, we are suspicious that environments are affecting each other.
This change allows to run only one tox environment at the same time.
......@@ -20,6 +20,7 @@ envlist = black, flake8, safety, cover
[tox:jenkins]
toxworkdir = /tmp/.tox
setenv = XDG_CACHE_HOME=/tmp/.cache
[testenv]
usedevelop = True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment