Skip to content

Commit 5326369

Browse files
committed
#267 Do not run multiprocessing on multiple processes
* the combo of py.test threading and multiprocessing with our own tests of threading and multiprocessing is likely too much and adding some monkey wrench in the test setup. We now run the scancode CLI tests sequentially. Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent 014e85a commit 5326369

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ os:
55
- linux
66

77
env:
8-
- TEST_SUITE: bin/py.test -n 2 -s
8+
- TEST_SUITE: bin/py.test -n 2 -s --ignore=tests/scancode/
9+
- TEST_SUITE: bin/py.test -vvs tests/scancode/
910
- TEST_SUITE: ./etc/release/release.sh
1011

1112

appveyor.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ build: off
77

88
test_script:
99
- python -c "import sys;print sys.getdefaultencoding()"
10-
- py.test -n 2 -s
10+
- py.test -n 2 -s --ignore=tests/scancode/
11+
- py.test -vvs tests/scancode/
1112

1213
on_success:
1314
- "python etc/scripts/irc-notify.py aboutcode [{project_name}:{branch}] {short_commit}: \"{message}\" ({author}) {color_green}Succeeded,Details: {build_url},Commit: {commit_url}"

0 commit comments

Comments
 (0)