wordpress-activitypub/docker-compose-test.yml
André Menrath 97823c05bb
Some checks are pending
PHP_CodeSniffer / phpcs (push) Waiting to run
Unit Testing / phpunit (5.6, 6.2) (push) Waiting to run
Unit Testing / phpunit (7.0) (push) Waiting to run
Unit Testing / phpunit (7.2) (push) Waiting to run
Unit Testing / phpunit (7.3) (push) Waiting to run
Unit Testing / phpunit (7.4) (push) Waiting to run
Unit Testing / phpunit (8.0) (push) Waiting to run
Unit Testing / phpunit (8.1) (push) Waiting to run
Unit Testing / phpunit (8.2) (push) Waiting to run
Unit Testing / phpunit (latest) (push) Waiting to run
fix call and wrong return of add_follower function
2023-12-27 21:42:39 +01:00

19 lines
365 B
YAML

version: '3'
services:
test-db:
image: mariadb:latest
environment:
MYSQL_DATABASE: activitypub-test
MYSQL_ROOT_PASSWORD: activitypub-test
expose:
- "3306"
test-php:
build:
context: .
dockerfile: Dockerfile
depends_on:
- test-db
volumes:
- .:/app
command: ["composer", "run-script", "test"]