Commit aeec1e9a authored by Felipe Jin's avatar Felipe Jin Committed by George Kadianakis
Browse files

Added functional_v3 tests to CI pipeline

parent e8ca64e4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@ dist: bionic
python: 3.7
env:
  - TEST=unit
  - TEST=functional_v3
before_install:
  # Install tor and chutney if doing functional tests
  - if [[ $TEST == functional* ]]; then ./test/scripts/install-tor.sh; fi
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@ setproctitle>=1.1.9

stem>=1.8
pyyaml>=4.2b1
cryptography>=2.5
cryptography>=2.5,<=3.0
pycryptodomex

future>=0.14.3
+2 −1
Original line number Diff line number Diff line
#!/bin/bash
set -ex

[[ $TEST ~= functional_(.*) ]]
[[ $TEST =~ functional_(.*) ]]
version="${BASH_REMATCH[1]}"
pwd
pytest --cov-report=term-missing --cov=onionbalance test/functional/$version/
pylint --disable=R,C,W onionbalance 
flake8 onionbalance
 No newline at end of file