Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -298,16 +298,6 @@ tasks:
- task: test:integration
- task: test:e2e

test:coverage:
desc: Run PHPUnit with coverage report
cmds:
- docker compose run --rm phpunit-coverage

test:docker:
desc: Run PHPUnit tests in Docker
cmds:
- docker compose run --rm phpunit

# === Development Helpers ===

composer:install:
Expand Down
26 changes: 0 additions & 26 deletions compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# Extends OpenEMR's development-easy services with overrides:
# - Random ports bound to 127.0.0.1 (avoid conflicts; never expose dev DB to LAN)
# - CLI tool mounted into OpenEMR container
# - PHPUnit services available via profiles

name: oce-cli-import-codes

Expand Down Expand Up @@ -69,31 +68,6 @@ services:
file: vendor/openemr/openemr/docker/development-easy/docker-compose.yml
service: phpmyadmin

# PHPUnit test runner
phpunit:
build:
context: .
dockerfile: Dockerfile.test
volumes:
- .:/app
- /app/vendor
command: vendor/bin/phpunit --testdox
profiles: [test]

# PHPUnit with coverage
phpunit-coverage:
build:
context: .
dockerfile: Dockerfile.test
volumes:
- .:/app
- /app/vendor
- ./htmlcov:/app/htmlcov
environment:
XDEBUG_MODE: coverage
command: vendor/bin/phpunit --coverage-html htmlcov --coverage-text
profiles: [test]

volumes:
databasevolume: {}
assetvolume: {}
Expand Down