Browse Source

Add tox target to build the plugin

This is required to integrate into the plugin CI.

Change-Id: If57eeede0313ef5346283d654a40cb328cdaa256
changes/10/344810/1
Simon Pasquier 3 years ago
parent
commit
5ef8543196
1 changed files with 9 additions and 1 deletions
  1. 9
    1
      tox.ini

+ 9
- 1
tox.ini View File

@@ -1,5 +1,5 @@
1 1
 [tox]
2
-envlist = docs
2
+envlist = docs,build_plugin
3 3
 skipsdist = True
4 4
 
5 5
 [testenv]
@@ -16,3 +16,11 @@ whitelist_externals = make
16 16
 commands =
17 17
     make clean html SPHINXOPTS=-W
18 18
 
19
+[testenv:build_plugin]
20
+changedir = {toxinidir}
21
+whitelist_externals =
22
+    fpb
23
+    bash
24
+commands =
25
+    fpb --check {toxinidir} --debug
26
+    fpb --build {toxinidir} --debug

Loading…
Cancel
Save