mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 23:31:51 +00:00

This should help combat some of the lagginess when looking at the CI logs in the browser.
42 lines
830 B
Bash
Executable File
42 lines
830 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
set -o pipefail
|
|
|
|
CI_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
|
|
source "${CI_DIR}/common/build.sh"
|
|
source "${CI_DIR}/common/suite.sh"
|
|
|
|
if [[ "$GITHUB_ACTIONS" != "true" ]]; then
|
|
run_suite 'make clint-full' 'clint'
|
|
run_suite 'make lualint' 'lualint'
|
|
run_suite 'make pylint' 'pylint'
|
|
run_suite 'make shlint' 'shlint'
|
|
run_suite 'make check-single-includes' 'single-includes'
|
|
|
|
end_tests
|
|
else
|
|
case "$1" in
|
|
clint)
|
|
run_suite 'make clint-full' 'clint'
|
|
;;
|
|
lualint)
|
|
run_suite 'make lualint' 'lualint'
|
|
;;
|
|
pylint)
|
|
run_suite 'make pylint' 'pylint'
|
|
;;
|
|
shlint)
|
|
run_suite 'make shlint' 'shlint'
|
|
;;
|
|
single-includes)
|
|
run_suite 'make check-single-includes' 'single-includes'
|
|
;;
|
|
*)
|
|
:;;
|
|
esac
|
|
|
|
end_tests
|
|
fi
|