2020-11-18 23:23:15 +00:00
|
|
|
.PHONY:
|
|
|
|
test: test-image
|
|
|
|
docker run \
|
|
|
|
--rm \
|
|
|
|
--interactive \
|
2020-11-19 03:22:08 +00:00
|
|
|
--volume $(PWD)/:/home/test/sig \
|
2020-11-18 23:23:15 +00:00
|
|
|
local/sig-test \
|
2020-11-19 03:22:08 +00:00
|
|
|
bats sig/test/test.bats
|
2020-11-18 23:23:15 +00:00
|
|
|
|
|
|
|
.PHONY: test-image
|
|
|
|
test-image:
|
|
|
|
docker build \
|
|
|
|
--tag local/sig-test \
|
|
|
|
--file $(PWD)/test/Dockerfile \
|
|
|
|
$(PWD)
|
|
|
|
|
|
|
|
.PHONY:
|
|
|
|
test-shell: test-shell
|
|
|
|
docker run \
|
|
|
|
--rm \
|
|
|
|
--interactive \
|
2020-11-19 03:22:08 +00:00
|
|
|
--volume $(PWD)/:/home/test/sig \
|
2020-11-18 23:23:15 +00:00
|
|
|
local/sig-test \
|
|
|
|
bash
|