feat: add tests for linux (#39)
* feat: add dummy test for linux * feat: add multiple test execution * fix: update exec of multiple scripts for linux * fix: execute tests with code from the branch * fix: fail test exec if at least one test fail * fix: typo * wip: test if symlink work * feat: add new test for check setup of light256 theme * feat: when theme enabled and not set it default to dark256 * feat: increase tests coverage of checking themes activation * refactor: rename tests_linux job * chore: add changelog entry
This commit is contained in:
parent
6595a51154
commit
f01574b318
12 changed files with 436 additions and 25 deletions
|
@ -18,9 +18,24 @@ get_theme() {
|
|||
}
|
||||
|
||||
main() {
|
||||
local theme
|
||||
theme=$(get_theme "$THEME_OPTION" "$DEFAULT_THEME")
|
||||
tmux source-file "$CURRENT_DIR/tmux-gruvbox-${theme}.conf"
|
||||
local _theme _path
|
||||
_theme=$(get_theme "$THEME_OPTION" "$DEFAULT_THEME")
|
||||
case "$_theme" in
|
||||
light-transparent)
|
||||
_theme="light-transparent"
|
||||
;;
|
||||
dark-transparent)
|
||||
_theme="dark-transparent"
|
||||
;;
|
||||
light | light256)
|
||||
_theme="light"
|
||||
;;
|
||||
dark | dark256 | *)
|
||||
_theme="dark"
|
||||
;;
|
||||
esac
|
||||
|
||||
tmux source-file "${CURRENT_DIR}/tmux-gruvbox-${_theme}.conf"
|
||||
}
|
||||
|
||||
main "$@"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue