Skip to content

Commit cc0583a

Browse files
Add a target to test all supported PHP versions LRN-43664
1 parent 1cda26d commit cc0583a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Makefile

+5
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ docker-build:
4949
-t $(IMAGE) .
5050
.PHONY: docker-build lrn-test-all lrn-test-clean
5151

52+
lrn-test-all: $(addprefix lrn-test-v,$(SUPPORTED_PHP_VERSIONS))
53+
54+
lrn-test-v%:
55+
$(MAKE) -e PHP_VERSION=$* -e MAKEFLAGS="$(MAKEFLAGS)" test
56+
$(MAKE) -e PHP_VERSION=$* -e MAKEFLAGS="$(MAKEFLAGS)" clean
5257

5358
else
5459
DIST_PREFIX = learnosity_sdk-

0 commit comments

Comments
 (0)