You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Fix for `urllib2>=2`
* Bump version for publishing a new release
* Adding local container for partially replacing httpbin.org usage
* Replacing httpbin.org with mockbin.org from Kong for what needs HTTPS
Copy file name to clipboardExpand all lines: Makefile
+10-3
Original file line number
Diff line number
Diff line change
@@ -2,15 +2,21 @@
2
2
3
3
install-dev-requirements:
4
4
pip install -U pip
5
-
pip install pipenv pre-commit
5
+
pip install pipenv
6
6
7
7
install-test-requirements:
8
8
pipenv install --dev
9
9
pipenv run python -c "import pipfile; pf = pipfile.load('Pipfile'); print('\n'.join(package+version if version != '*' else package for package, version in pf.data['default'].items()))"> requirements.txt
10
10
11
+
services-up:
12
+
pipenv run docker-compose up -d
13
+
14
+
services-down:
15
+
pipenv run docker-compose down --remove-orphans
16
+
11
17
test-python:
12
18
@echo "Running Python tests"
13
-
pipenv run python run_tests.py ||exit 1
19
+
pipenv run wait-for-it --service httpbin.local:443 --service localhost:6379 --timeout 5 -- pipenv run python run_tests.py ||exit 1
0 commit comments