-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
33 lines (33 loc) · 1.2 KB
/
Copy pathcomposer.json
File metadata and controls
33 lines (33 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
"name": "data-access-kit/replication",
"description": "DataAccessKit Replication Extension",
"type": "php-ext",
"require": {
"php": ">=8.4"
},
"require-dev": {
"phpunit/phpunit": "^11.0"
},
"autoload-dev": {
"psr-4": {
"DataAccessKit\\Replication\\Test\\": "test/"
}
},
"scripts": {
"build": "cargo build",
"test:unit": [
"@build",
"php -c php-$(uname -s | tr '[:upper:]' '[:lower:]').ini vendor/bin/phpunit --group unit"
],
"test:database:env": [
"@build",
"php -c php-$(uname -s | tr '[:upper:]' '[:lower:]').ini vendor/bin/phpunit --group database"
],
"test:database:mysql": "DATABASE_URL=mysql://root@127.0.0.1:32016 REPLICATION_DATABASE_URL=mysql://replication_test:replication_test@127.0.0.1:32016 composer run test:database:env",
"test:database:mariadb": "DATABASE_URL=mysql://root@127.0.0.1:35098 REPLICATION_DATABASE_URL=mysql://replication_test:replication_test@127.0.0.1:35098 composer run test:database:env",
"test:database:all": [
"@test:database:mysql",
"@test:database:mariadb"
]
}
}