Skip to content

chore: drop ghost phpunit and phpunit-coverage docker services#42

Merged
kojiromike merged 1 commit into
mainfrom
kojiromike/drop-ghost-phpunit-services
May 12, 2026
Merged

chore: drop ghost phpunit and phpunit-coverage docker services#42
kojiromike merged 1 commit into
mainfrom
kojiromike/drop-ghost-phpunit-services

Conversation

@kojiromike
Copy link
Copy Markdown
Contributor

Summary

Removes two compose services (phpunit, phpunit-coverage) and two Taskfile entries (task test:docker, task test:coverage) that have been broken since they were added — they reference dockerfile: Dockerfile.test, but that file has never existed in the repo. Hidden until now because the services live under profiles: [test] and only run on explicit invocation.

Spotted while reviewing #41.

Why drop instead of fix

The functionality is covered elsewhere:

  • task test:unit runs unit tests locally (composer test:unit)
  • task test:integration / task test:e2e exec into the running openemr container (matches the existing pattern that already works)
  • CI handles coverage via the openCoreEMR/github-workflows-public/php-tests.yml reusable when opted in via coverage-php-version

If local coverage HTML reports become a real need, add Dockerfile.test and reintroduce the services.

Test plan

  • task --list no longer shows test:docker / test:coverage
  • docker compose config still validates
  • dclint still passes (no new compose violations)

These compose services referenced dockerfile: Dockerfile.test which has
never existed in the repo — and the corresponding Taskfile entries
(task test:docker, task test:coverage) have been broken since they
were added.

The functionality is covered elsewhere:
- task test:unit runs unit tests locally (composer test:unit)
- task test:integration / task test:e2e exec into the running openemr
  container (matches the pattern that already works)
- CI handles coverage via the openCoreEMR/github-workflows-public
  php-tests reusable when opted in via coverage-php-version

If local coverage HTML reports become a real need, add a Dockerfile.test
and reintroduce the services.
@kojiromike kojiromike merged commit d6f3de6 into main May 12, 2026
2 checks passed
@kojiromike kojiromike deleted the kojiromike/drop-ghost-phpunit-services branch May 12, 2026 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant