-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #64 from scrapinghub/fix_unit_tests
Fix unit tests by setting botgroup's max_running
- Loading branch information
Showing
5 changed files
with
63 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
.PHONY: release release-minor release-path release-major upload test test-all lint clean | ||
|
||
VERSION?=minor | ||
|
||
release: | ||
bumpversion $(VERSION) | ||
|
||
release-minor: release | ||
|
||
release-patch: | ||
make release VERSION=patch | ||
|
||
release-major: | ||
make release VERSION=major | ||
|
||
upload: clean | ||
python setup.py sdist bdist_wheel upload | ||
|
||
test: | ||
py.test tests/ | ||
|
||
test-all: | ||
tox | ||
|
||
lint: | ||
flake8 hubstorage | ||
|
||
clean: | ||
rm -rf build/ dist/ *.egg-info htmlcov/ | ||
find . -name '*.pyc' -exec rm -f {} + | ||
find . -name '*.pyo' -exec rm -f {} + | ||
find . -name '__pycache__' -exec rm -fr {} + |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters