update ic.yml with script

pull/3902/head
Jia Hu 2024-03-20 18:04:22 -04:00
parent fee7b0ca7d
commit d88e0c3eef
1 changed files with 53 additions and 37 deletions

View File

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