Commit adcaf04d authored by juga's avatar juga
Browse files

CI: run scanner using the test network

as part of the integration tests.

Fixes bug #28933. Bugfix v0.1.0.
parent 5f86552a
......@@ -43,15 +43,21 @@ whitelist_externals =
commands =
tar -C {envtmpdir} -vxf {toxinidir}/tests/integration/net.tar
bash {envtmpdir}/net/
bash -c "time python3 {envtmpdir}/net/ {envtmpdir}/net/{auth,relay,exit}*"
bash -c "python3 {toxinidir}/scripts/tools/ --port 28888 &>/dev/null &"
sleep 15
sleep 1
wget -O/dev/null
; Run actually the scanner
mkdir -p /tmp/.sbws
; This add around 3min more to the tests
sbws -c {toxinidir}/tests/integration/sbws_testnet.ini scanner
coverage run -a --rcfile={toxinidir}/.coveragerc --source=sbws -m pytest -s {toxinidir}/tests/integration -vv
bash {envtmpdir}/net/
rm -rf /tmp/.sbws
skip_install = True
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment