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:
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@@ -190,7 +190,10 @@ jobs:
|
|||||||
working-directory: tests
|
working-directory: tests
|
||||||
run: |
|
run: |
|
||||||
echo "Launching httpbin"
|
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 &
|
python -m httpbin.core 2>&1 >httpbin.log &
|
||||||
export WX_TEST_WEBREQUEST_URL=http://localhost:5000
|
export WX_TEST_WEBREQUEST_URL=http://localhost:5000
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user