File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -205,6 +205,33 @@ jobs:
205205 printf "::endgroup::\n"
206206
207207
208+ test-busybox :
209+ runs-on : ubuntu-latest
210+ steps :
211+ - name : Install dependencies
212+ run : |
213+ printf "::group::Install packages\n"
214+ sudo apt-get install busybox git podman
215+ printf "::endgroup::\n"
216+
217+ printf "::group::Download ShellSpec\n"
218+ git clone --depth=1 https://github.com/shellspec/shellspec.git /tmp/shellspec
219+ printf "::endgroup::\n"
220+ - name : Checkout
221+ uses : actions/checkout@v6
222+ - name : Prepare BusyBox image
223+ run : |
224+ podman create --name busybox-mommy docker.io/library/busybox:latest
225+ podman cp . busybox-mommy:/home/mommy
226+ podman cp /tmp/shellspec busybox-mommy:/home/shellspec
227+ podman commit busybox-mommy busybox-mommy
228+ - name : Test
229+ run : |
230+ podman run --rm -w=/home/mommy busybox-mommy \
231+ env MOMMY_EXEC="/home/mommy/src/main/sh/mommy" \
232+ /home/shellspec/shellspec src/test/sh/unit_spec.sh
233+
234+
208235 test-fedora :
209236 runs-on : ubuntu-latest
210237 container : fedora:latest
You can’t perform that action at this time.
0 commit comments