mirror of
https://github.com/lloeki/apply.git
synced 2025-12-06 09:24:38 +01:00
ci: also test on ksh
This commit is contained in:
parent
a519746560
commit
e0d5017c98
2 changed files with 10 additions and 1 deletions
6
Makefile
6
Makefile
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -10,7 +10,12 @@
|
|||
rec {
|
||||
devShell = pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
# Shells
|
||||
bash
|
||||
dash
|
||||
ksh
|
||||
|
||||
# Tools
|
||||
gnumake
|
||||
shellcheck
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue