pass API_URL to phpunit-integration CLI

This commit is contained in:
Andrew Dolgov 2023-10-29 10:01:14 +03:00
parent 7cd2c5cac8
commit cfcab96e18
No known key found for this signature in database
GPG Key ID: 1A56B4FA25D4AF2A
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
docker run --rm -v $(pwd):/app \ docker run --rm -v $(pwd):/app -e API_URL=${API_URL} \
--workdir /app registry.fakecake.org/ci/php8.2-alpine:3.18 php82 -d memory_limit=-1 ./vendor/bin/phpunit --group integration --workdir /app registry.fakecake.org/ci/php8.2-alpine:3.18 php82 -d memory_limit=-1 ./vendor/bin/phpunit --group integration