Get rid of separate "Launching httpbin" step in the CI builds

Just do it as part of "Testing".
This commit is contained in:
Vadim Zeitlin
2021-03-23 14:59:53 +01:00
parent 478720c18e
commit d15b76ad92

View File

@@ -187,17 +187,15 @@ jobs:
fi
make -k -C tests $wxBUILD_ARGS "CXXFLAGS=$wxMAKEFILE_CXXFLAGS" "LDFLAGS=$wxMAKEFILE_LDFLAGS"
- name: Launching httpbin
if: matrix.skip_testing != true
run: |
pip install httpbin
python -m httpbin.core 2>&1 >httpbin.log &
echo 'WX_TEST_WEBREQUEST_URL=http://localhost:5000' >> $GITHUB_ENV
- name: Testing
if: matrix.skip_testing != true
working-directory: tests
run: |
echo "Launching httpbin"
pip install httpbin
python -m httpbin.core 2>&1 >httpbin.log &
export WX_TEST_WEBREQUEST_URL=http://localhost:5000
# Explicitly use bash because /bin/sh doesn't have pipefail option
/bin/bash -o pipefail -c './test 2>&1 | tee test.out' || rc=$?
if [ ${{ matrix.use_asan }} ]; then