-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.yml
52 lines (43 loc) · 1.11 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
carbondesign:
options:
pylint_config_file: etc/pylint.rc
pylint_work_dir: "./"
pylint:
raw_file_in: "{_1}/*.py"
raw_depend_in: etc/pylint.rc
tags:
pylint:
raw_file_in: "{_1}/{_2}/*.py"
raw_depend_in: etc/pylint.rc
templatetags:
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
unittest:
shell:
options:
command: >
./run pybin coverage run --include=./carbondesign/tags/*
./run django-manage test --testrunner="test_runner.UnitTestRunner"
rule_in:
- "{_1}/tags/pylint"
- "{_1}/templatetags/pylint"
- "{_1}/tests/pylint"
raw_depend_in:
- build.yml
- djangoprj/djangoprj/*.py
coverage:
shell:
options:
command: ./run pybin coverage report -m --skip-covered
rule_in:
- "{_1}/unittest/shell"
mithril-js:
dump_messages:
raw_file_out: carbondesign/{_1}/messages.json
#dump_timezones:
# raw_file_out: carbondesign/{_1}/timezones.json