-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.yml
55 lines (47 loc) · 1.13 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
pybuildtool:
options:
pylint_config_file: etc/pylint.rc
pylint_work_dir: "./"
pylint:
raw_file_in: "{_1}/*.py"
raw_depend_in: etc/pylint.rc
addons:
pylint:
raw_file_in: "{_1}/{_2}/*.py"
raw_depend_in: etc/pylint.rc
core:
pylint:
raw_file_in: "{_1}/{_2}/*.py"
raw_depend_in: etc/pylint.rc
misc:
pylint:
raw_file_in: "{_1}/{_2}/*.py"
raw_depend_in: etc/pylint.rc
tests:
pylint:
raw_file_in: "{_1}/{_2}/*.py"
raw_depend_in: etc/pylint.rc
tools:
pylint:
raw_file_in: "{_1}/{_2}/*.py"
raw_depend_in: etc/pylint.rc
unittest:
shell:
options:
_noop_retcodes_: [5]
command: ./run pybin coverage run --include=./* -m py.test
rule_in:
- "{_1}/pylint"
- "{_1}/addons/pylint"
- "{_1}/core/pylint"
- "{_1}/misc/pylint"
- "{_1}/tests/pylint"
- "{_1}/tools/pylint"
raw_depend_in: build.yml
coverage:
shell:
options:
_noop_retcodes_: [1]
command: ./run pybin coverage report -m --skip-covered
rule_in:
- "{_1}/unittest/shell"