diff --git a/.github/workflows/pypi-release.yml b/.github/workflows/pypi-release.yml index 0f38941f..1b2ffb76 100644 --- a/.github/workflows/pypi-release.yml +++ b/.github/workflows/pypi-release.yml @@ -40,12 +40,12 @@ jobs: path: dist/ - name: Test that the basic pip built package runs without error run: | - set -e + set -ex pip3 install dist/changedetection.io*.whl changedetection.io -d /tmp -p 10000 & sleep 3 - curl http://127.0.0.1:10000/static/styles/pure-min.css >/dev/null - curl http://127.0.0.1:10000/ >/dev/null + curl --retry-connrefused --retry 6 http://127.0.0.1:10000/static/styles/pure-min.css >/dev/null + curl --retry-connrefused --retry 6 http://127.0.0.1:10000/ >/dev/null killall changedetection.io diff --git a/.github/workflows/test-only.yml b/.github/workflows/test-only.yml index 859f687e..f3fde056 100644 --- a/.github/workflows/test-only.yml +++ b/.github/workflows/test-only.yml @@ -118,10 +118,10 @@ jobs: docker run --name test-changedetectionio -p 5556:5000 -d test-changedetectionio sleep 3 # Should return 0 (no error) when grep finds it - curl -s http://localhost:5556 |grep -q checkbox-uuid + curl --retry-connrefused --retry 6 -s http://localhost:5556 |grep -q checkbox-uuid # and IPv6 - curl -s -g -6 "http://[::1]:5556"|grep -q checkbox-uuid + curl --retry-connrefused --retry 6 -s -g -6 "http://[::1]:5556"|grep -q checkbox-uuid # Check whether TRACE log is enabled. # Also, check whether TRACE is came from STDERR