Fix httpbin installation with Python 2 for GitHub CI too

This is the same as b78508615a (Explicitly install decorator 4.4.2 as
httpbin dependency, 2021-04-03) for Travis CI.
This commit is contained in:
Vadim Zeitlin
2021-04-03 23:42:54 +02:00
parent 9f1dc5ffff
commit 996469115b

View File

@@ -190,7 +190,10 @@ jobs:
working-directory: tests
run: |
echo "Launching httpbin"
pip install httpbin
# Current decorator (>= 5) is incompatible with Python 2 which we
# still use under in some builds, so explicitly use a version which
# is known to work.
pip install decorator==4.4.2 httpbin
python -m httpbin.core 2>&1 >httpbin.log &
export WX_TEST_WEBREQUEST_URL=http://localhost:5000