File tree Expand file tree Collapse file tree 1 file changed +17
-2
lines changed
Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change 3535 - name : Test shellinclude from cmd
3636 run : cd test && for test in $(ls test_*.sh); do ./$test; done
3737
38- - name : Test shellinclude from script
39- run : echo "Build another test for shellinclude!!!"
38+
39+ - name : Set up Docker Buildx
40+ uses : docker/setup-buildx-action@v1
41+
42+ - name : Build and push
43+ uses : docker/build-push-action@v2
44+ with :
45+ context : .
46+ file : ./infra/Dockerfile
47+ tags : shellinclude
48+ outputs : type=docker,dest=/tmp/testimage.tar
49+
50+ - name : Load Docker image
51+ run : docker load --input /tmp/testimage.tar
52+ - name : Run unit tests on a docker with Madagascar 3.0
53+ run : docker run -t shellinclude bash -c "cd test/docker; cp ../../src/* /usr/bin; ./test_img.sh"
54+
4055 build :
4156 runs-on : ubuntu-latest
4257 needs : unit-tests
You can’t perform that action at this time.
0 commit comments