Skip to content
Snippets Groups Projects
Commit 86ca471a authored by Corné Lukken's avatar Corné Lukken
Browse files

Merge branch 'L2SS-584' into 'master'

L2SS-584: Add xenon code complexity analysis with soft fail

Closes L2SS-584

See merge request !225
parents a093b491 5ec7762b
No related branches found
No related tags found
1 merge request!225L2SS-584: Add xenon code complexity analysis with soft fail
...@@ -361,6 +361,15 @@ bandit: ...@@ -361,6 +361,15 @@ bandit:
script: script:
- cd tangostationcontrol - cd tangostationcontrol
- tox -e bandit - tox -e bandit
xenon:
stage: static-analysis
allow_failure: true
before_script:
- sudo apt-get update
- sudo apt-get install -y git
script:
- cd tangostationcontrol
- tox -e xenon
shellcheck: shellcheck:
stage: static-analysis stage: static-analysis
before_script: before_script:
......
...@@ -18,3 +18,4 @@ stestr>=3.0.0 # Apache-2.0 ...@@ -18,3 +18,4 @@ stestr>=3.0.0 # Apache-2.0
testscenarios>=0.5.0 # Apache-2.0/BSD testscenarios>=0.5.0 # Apache-2.0/BSD
testtools>=2.4.0 # MIT testtools>=2.4.0 # MIT
timeout-decorator>=0.5 # MIT timeout-decorator>=0.5 # MIT
xenon>=0.8.0 # MIT
...@@ -67,6 +67,10 @@ commands = ...@@ -67,6 +67,10 @@ commands =
commands = commands =
bandit -r devices/ -n5 -ll -s B104 bandit -r devices/ -n5 -ll -s B104
[testenv:xenon];
commands =
xenon tangostationcontrol -b B -m A -a A
[testenv:docs] [testenv:docs]
deps = deps =
-r{toxinidir}/../docker-compose/lofar-device-base/lofar-requirements.txt -r{toxinidir}/../docker-compose/lofar-device-base/lofar-requirements.txt
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment