summaryrefslogtreecommitdiff
path: root/run-tests-for-all-php-versions.sh
diff options
context:
space:
mode:
authorSimon Wisselink <s.wisselink@iwink.nl>2023-11-06 13:22:07 +0100
committerSimon Wisselink <s.wisselink@iwink.nl>2023-11-06 13:22:07 +0100
commitb28b85dbf48d6f82f48079065922a25eaa33088b (patch)
tree55d9c157c5ed6fb0be2e1e3d7bbe22bf877911ab /run-tests-for-all-php-versions.sh
parentad73f4943be05bbd2c63fe74b5966abd5be43eb9 (diff)
downloadsmarty-b28b85dbf48d6f82f48079065922a25eaa33088b.tar.gz
smarty-b28b85dbf48d6f82f48079065922a25eaa33088b.tar.bz2
smarty-b28b85dbf48d6f82f48079065922a25eaa33088b.zip
Add support for MacOS test running using mutagen-compose.
Diffstat (limited to 'run-tests-for-all-php-versions.sh')
-rwxr-xr-xrun-tests-for-all-php-versions.sh14
1 files changed, 8 insertions, 6 deletions
diff --git a/run-tests-for-all-php-versions.sh b/run-tests-for-all-php-versions.sh
index 1f1b94c2..b2a4133a 100755
--- a/run-tests-for-all-php-versions.sh
+++ b/run-tests-for-all-php-versions.sh
@@ -5,9 +5,11 @@
# - ./run-tests-for-all-php-versions.sh --group 20221124
# - ./run-tests-for-all-php-versions.sh --exclude-group slow
-docker-compose run php72 ./run-tests.sh $@ && \
-docker-compose run php73 ./run-tests.sh $@ && \
-docker-compose run php74 ./run-tests.sh $@ && \
-docker-compose run php80 ./run-tests.sh $@ && \
-docker-compose run php81 ./run-tests.sh $@ && \
-docker-compose run php82 ./run-tests.sh $@
+COMPOSE_CMD="mutagen-compose"
+
+$COMPOSE_CMD run --rm php72 ./run-tests.sh $@ && \
+$COMPOSE_CMD run --rm php74 ./run-tests.sh $@ && \
+$COMPOSE_CMD run --rm php74 ./run-tests.sh $@ && \
+$COMPOSE_CMD run --rm php80 ./run-tests.sh $@ && \
+$COMPOSE_CMD run --rm php81 ./run-tests.sh $@ && \
+$COMPOSE_CMD run --rm php82 ./run-tests.sh $@