Keboola high level common storage backend driver
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
# bucket is needed for import/export tests
AWS_S3_BUCKET=
AWS_REGION=eu-central-1
docker compose build
To run with xdebug use dev-xdebug
container instead of dev
docker compose run --rm dev composer protobuf
Documentation will be placed in docs
folder. Check documentation for more options.
docker run --rm \
-v $(pwd)/docs:/out \
-v $(pwd)/proto:/protos \
pseudomuto/protoc-gen-doc
Run tests with following command.
docker compose run --rm dev composer tests
To run separate tests first generate testing protobuf classes
docker compose run --rm dev composer protobufTests
To disable retry copy phpunit-retry.xml.dist
cp phpunit-retry.xml.dist phpunit-retry.xml
To debug queries executed during test set DEBUG=1 env variable
#run all bellow but not tests
docker compose run --rm dev composer check
#phplint
docker compose run --rm dev composer phplint
#phpcs
docker compose run --rm dev composer phpcs
#phpcbf
docker compose run --rm dev composer phpcbf
#phpstan
docker compose run --rm dev composer phpstan
This command will run all checks and run tests
docker compose run --rm dev composer ci
MIT licensed, see LICENSE file.