2018-01-10 20:53:42 +08:00
|
|
|
- name: cppcheck
|
2019-04-19 16:44:25 +08:00
|
|
|
commands: |
|
|
|
|
export PATH=/opt/toolchain-v1/bin:$PATH
|
|
|
|
export LD_LIBRARY_PATH=/opt/toolchain-v1/lib:/opt/toolchain-v1/lib64
|
|
|
|
TIMEOUT=2400 ./cppcheck
|
2018-01-10 20:53:42 +08:00
|
|
|
infiles:
|
|
|
|
- cppcheck # cppcheck script
|
|
|
|
- ../../src # src source dir
|
|
|
|
- ../../tests # tests source dir
|
|
|
|
- ../../poc # poc source dir
|
|
|
|
- ../../.git # git directory (used to find out changed files in commit)
|
2018-01-12 17:19:37 +08:00
|
|
|
- ../../.clang-format # clang-format config file
|
2018-01-10 20:53:42 +08:00
|
|
|
outfile_paths:
|
|
|
|
- \./memgraph/tools/apollo/\.cppcheck_errors
|
2018-01-15 19:19:55 +08:00
|
|
|
|
|
|
|
- name: code_coverage
|
2018-10-11 17:37:59 +08:00
|
|
|
project: ^NEVER$ # TODO (mferencevic): remove when the coverage is split into two (single node and distributed)
|
2018-01-15 19:19:55 +08:00
|
|
|
type: data process
|
2018-05-16 17:14:01 +08:00
|
|
|
require_runs: ^unit__.+ # regex to match all unit runs
|
2019-04-19 16:44:25 +08:00
|
|
|
commands: |
|
|
|
|
export PATH=/opt/toolchain-v1/bin:$PATH
|
|
|
|
export LD_LIBRARY_PATH=/opt/toolchain-v1/lib:/opt/toolchain-v1/lib64
|
|
|
|
TIMEOUT=300 ./coverage_convert
|
2018-01-15 19:19:55 +08:00
|
|
|
infiles:
|
|
|
|
- coverage_convert # coverage_convert script
|
|
|
|
- coverage_parse_export # coverage_parse_export script
|
|
|
|
- apollo_archives.yaml # coverage archive export config
|
|
|
|
- ../../src # src source dir
|
|
|
|
outfile_paths:
|
|
|
|
- \./memgraph/tools/apollo/generated/\.coverage_summary
|
|
|
|
- \./memgraph/tools/apollo/generated/\coverage.json
|