Browse Source

Add tox.ini configuration to run bashate tests

This commit implements a simple tox.ini configuration to run bashate
style checker against all files in the ocf directory.

Partial-Bug: #1508559
Change-Id: I34b3fc108a86d902d0d856f632b5221e14f1f118
Signed-off-by: Norbert Illes <norbert.e.illes@ericsson.com>
Norbert Illes 3 years ago
parent
commit
e7672a0aa9
1 changed files with 11 additions and 0 deletions
  1. 11
    0
      tox.ini

+ 11
- 0
tox.ini View File

@@ -0,0 +1,11 @@
1
+[tox]
2
+envlist = bashate
3
+skipsdist = True
4
+
5
+[testenv]
6
+whitelist_externals = bash
7
+
8
+[testenv:bashate]
9
+deps = bashate
10
+commands = bash -c "bashate --verbose {toxinidir}/ocf/*"
11
+

Loading…
Cancel
Save