ClickHouse/docker/test/style/run.sh

13 lines
676 B
Bash
Raw Normal View History

2021-02-26 11:43:58 +00:00
#!/bin/bash
2021-09-15 17:35:15 +00:00
# yaml check is not the best one
2021-02-26 12:58:13 +00:00
cd /ClickHouse/utils/check-style || echo -e "failure\tRepo not found" > /test_output/check_status.tsv
./check-duplicate-includes.sh |& tee /test_output/duplicate_output.txt
2021-02-26 11:43:58 +00:00
./check-style -n |& tee /test_output/style_output.txt
./check-typos |& tee /test_output/typos_output.txt
./check-whitespaces -n |& tee /test_output/whitespaces_output.txt
./check-workflows |& tee /test_output/workflows_output.txt
2021-02-26 11:43:58 +00:00
./shellcheck-run.sh |& tee /test_output/shellcheck_output.txt
2021-02-26 12:58:13 +00:00
/process_style_check_result.py || echo -e "failure\tCannot parse results" > /test_output/check_status.tsv