Skip to content

Commit 34ff198

Browse files
committed
🧪 added auto tests for all bash versions
1 parent 1fc51d2 commit 34ff198

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

.github/workflows/self-test.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,29 @@ jobs:
5656
--user root \
5757
noyacode/valet-tests-slimdeb:latest \
5858
-c '${BASH} --version; ./valet self test -c'
59+
60+
- name: Run valet self test on bash5.1
61+
run: |
62+
chmod +x valet
63+
docker run --rm \
64+
-v $PWD:/app \
65+
-w /app \
66+
-e VALET_CONFIG_ENABLE_COLORS=true \
67+
-e VALET_CONFIG_DISABLE_PROGRESS=true \
68+
--entrypoint /usr/local/bin/bash-5.1 \
69+
--user root \
70+
noyacode/valet-tests-slimdeb:latest \
71+
-c '${BASH} --version; ./valet self test -c'
72+
73+
- name: Run valet self test on bash5.3
74+
run: |
75+
chmod +x valet
76+
docker run --rm \
77+
-v $PWD:/app \
78+
-w /app \
79+
-e VALET_CONFIG_ENABLE_COLORS=true \
80+
-e VALET_CONFIG_DISABLE_PROGRESS=true \
81+
--entrypoint /usr/local/bin/bash-5.3 \
82+
--user root \
83+
noyacode/valet-tests-slimdeb:latest \
84+
-c '${BASH} --version; ./valet self test -c'

0 commit comments

Comments
 (0)