run_lint.sh 583 B

123456789101112131415161718192021222324252627282930313233
  1. #!/usr/bin/env bash
  2. set -e
  3. set -o pipefail
  4. CI_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
  5. source "${CI_DIR}/common/build.sh"
  6. source "${CI_DIR}/common/suite.sh"
  7. enter_suite 'clint'
  8. run_test 'make clint-full' clint
  9. exit_suite --continue
  10. enter_suite 'lualint'
  11. run_test 'make lualint' lualint
  12. exit_suite --continue
  13. enter_suite 'pylint'
  14. run_test 'make pylint' pylint
  15. exit_suite --continue
  16. enter_suite single-includes
  17. CLICOLOR_FORCE=1 run_test_wd \
  18. --allow-hang \
  19. 10s \
  20. 'make check-single-includes' \
  21. 'csi_clean' \
  22. single-includes
  23. exit_suite --continue
  24. end_tests