diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cbd5085..c22e636 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,6 +19,6 @@ jobs: - name: Syntax Testing # -n : ead commands but do not execute them. This may be used to check a shell script for syntax errors. This is ignored by interactive shells. run : | - bash -n dotman.sh - sh -n tools/install.sh + bash -n bashTests.sh + sh -n tools/install.sh diff --git a/bashTests.sh b/bashTests.sh new file mode 100644 index 0000000..9a13e5b --- /dev/null +++ b/bashTests.sh @@ -0,0 +1,4 @@ +for v in 3 4 5; do + docker run -v "$PWD:/mnt" "bash:$v" \ + bash dotman.sh +done