From e0d5017c9874d43e1fe622b27ee3805e92ad9f04 Mon Sep 17 00:00:00 2001 From: Andrew Dunham Date: Tue, 13 Jul 2021 19:04:26 -0400 Subject: [PATCH] ci: also test on ksh --- Makefile | 6 +++++- flake.nix | 5 +++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7ebc511..3c39794 100644 --- a/Makefile +++ b/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 diff --git a/flake.nix b/flake.nix index afa4bad..71df11a 100644 --- a/flake.nix +++ b/flake.nix @@ -10,7 +10,12 @@ rec { devShell = pkgs.mkShell { buildInputs = with pkgs; [ + # Shells + bash dash + ksh + + # Tools gnumake shellcheck ];