We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c58cce5 commit 9a1516eCopy full SHA for 9a1516e
.circleci/config.yml
@@ -35,9 +35,8 @@ jobs:
35
tests/setup_testing_env.sh
36
set -x
37
which nosetests
38
- # eventlet monkey_patch as early as possible
39
- sed -i -e '/^import re$/i from st2common.util.monkey_patch import monkey_patch\nmonkey_patch()' $(which nosetests)
40
- head -n5 $(which nosetests)
+ # eventlet monkey_patch as early as possible (has to be in activate as nosetests gets reinstalled during test phase)
+ echo "grep -q monkey_patch $(which nosetests) || sed -i -e '/^import re$/i from st2common.util.monkey_patch import monkey_patch\nmonkey_patch()' $(which nosetests)" >> ~/virtualenv/bin/activate
41
- run:
42
name: Run tests (Python 3.6)
43
# NOTE: We don't want to use default "-e" option because this means
0 commit comments