Utility script for running unit tests on all PHP versions locally

This commit is contained in:
Simon Wisselink
2022-09-12 15:49:37 +02:00
parent 5479e3362c
commit 6872e78238
2 changed files with 8 additions and 0 deletions

View File

@@ -3,6 +3,7 @@ services:
base: base:
build: build:
context: . context: .
dockerfile: ./utilities/testrunners/php71/Dockerfile
volumes: volumes:
- .:/app - .:/app
working_dir: /app working_dir: /app

View File

@@ -0,0 +1,7 @@
# Runs tests for all supported PHP versions
docker-compose run php71 && \
docker-compose run php72 && \
docker-compose run php73 && \
docker-compose run php74 && \
docker-compose run php80 && \
docker-compose run php81