mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2025-12-24 01:57:51 -05:00
* Improve code style and PSR-12 compliance - refactored code formatting to adhere to PSR-12 guidelines - standardized coding conventions across the codebase - added missing framework files and reverted markup changes - reformatted arrays for enhanced readability - updated language files for consistent styling and clarity - minor miscellaneous improvements
24 lines
600 B
YAML
24 lines
600 B
YAML
version: '2.2'
|
|
|
|
include:
|
|
- docker/docker-mysql.yml
|
|
|
|
services:
|
|
test:
|
|
build:
|
|
context: .
|
|
target: ospos_test
|
|
depends_on:
|
|
- mysql
|
|
container_name: ospos_test
|
|
environment:
|
|
- CI_ENVIRONMENT=testing
|
|
- ENCRYPTION_KEY=
|
|
- MYSQL_HOST_NAME=mysql
|
|
- MYSQL_DATABASE=ospos
|
|
- MYSQL_USERNAME=admin
|
|
- MYSQL_PASSWORD=pointofsale
|
|
command: [ "/bin/wait-for-it.sh", "mysql:3306", "--", "/app/vendor/bin/phpunit", "/app/app/tests" ]
|
|
ports:
|
|
- "80:80"
|