update ic.yml with script

pull/3902/head
Jia Hu 2024-03-20 17:59:42 -04:00
parent 22e8733a73
commit 463a3e4503
1 changed files with 32 additions and 3 deletions

View File

@ -32,13 +32,42 @@ jobs:
./configure
make
# Explicitly declare an array of scripts to execute
declare -a scripts=(
"am-terminal.sh"
"capture-pane-hyperlink.sh"
"combine-test.sh"
"command-order.sh"
"conf-syntax.sh"
"control-client-sanity.sh"
"cursor-test1.sh"
"cursor-test2.sh"
"cursor-test3.sh"
"cursor-test4.sh"
"has-session-return.sh"
"if-shell-error.sh"
"if-shell-nested.sh"
"if-shell-TERM.sh"
"input-keys.sh"
"kill-session-process-exit.sh"
"new-session-base-index.sh"
"new-window-command.sh"
"osc-11colours.sh"
"style-trim.sh"
"control-client-size.sh"
"new-session-no-client.sh"
"new-session-size.sh"
"new-session-command.sh"
"copy-mode-test-emacs.sh"
)
# Add additional steps for running tests if applicable.
- name: Run Tests
working-directory: ./regress
run: |
for script in am-terminal.sh capture-pane-hyperlink.sh combine-test.sh command-order.sh conf-syntax.sh control-client-sanity.sh cursor-test{1..4}.sh has-session-return.sh if-shell-{error,nested,TERM}.sh input-keys.sh kill-session-process-exit.sh new-{session-base-index,window-command}.sh osc-11colours.sh style-trim.sh control-client-size.sh new-session-{no-client,size,command}.sh copy-mode-test-emacs.sh; do
chmod +x $script
./$script
for script in "${scripts[@]}"; do
chmod +x "$script"
sh "$script"
done
## chmod +x tty-keys.sh
## sh tty-keys.sh