Get rid of separate "Launching httpbin" step in the CI builds
Just do it as part of "Testing".
This commit is contained in:
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@@ -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
|
||||
|
Reference in New Issue
Block a user