ci: also test on ksh

This commit is contained in:
Andrew Dunham 2021-07-13 19:04:26 -04:00
parent a519746560
commit e0d5017c98
2 changed files with 10 additions and 1 deletions

View file

@ -5,7 +5,7 @@ lint:
@find run lib -type f -not -iname '*.*' | xargs shellcheck -s dash
@printf "\033[032mLINT OK\033[0m\n\n"
test: lint test-dash test-bash
test: lint test-dash test-bash test-ksh
test-ash:
@cd test && ash ./lib_test.sh
@ -19,4 +19,8 @@ test-bash:
@cd test && bash ./lib_test.sh
@cd test && bash ./run_test.sh
test-ksh:
@cd test && ksh ./lib_test.sh
@cd test && ksh ./run_test.sh
.PHONY: lint test test-dash test-bash

View file

@ -10,7 +10,12 @@
rec {
devShell = pkgs.mkShell {
buildInputs = with pkgs; [
# Shells
bash
dash
ksh
# Tools
gnumake
shellcheck
];