Skip to content

Rewrite action to Docker container + JS Testcontainers tests#48

Merged
MekDrop merged 24 commits intomainfrom
feat/container-action
Mar 27, 2026
Merged

Rewrite action to Docker container + JS Testcontainers tests#48
MekDrop merged 24 commits intomainfrom
feat/container-action

Conversation

@MekDrop
Copy link
Copy Markdown
Contributor

@MekDrop MekDrop commented Mar 27, 2026

Summary

  • rewrite the action from composite to Docker container action
  • use official PHP base image with build arg (PHP_BASE_IMAGE) so image can be built for legacy PHP lines (validated with php:5.5.38-cli and php:7.4-cli)
  • stop using Composer package install flow in the action runtime; clone evert/phpdoc-md from git in the Docker build stage and bundle its runtime deps
  • download phpDocumentor artifacts at runtime (no phar committed in repo), preferring release .tgz for versioned builds and falling back to .phar
  • replace Bats tests with JS integration tests based on Testcontainers that build/run the action container for multiple PHP versions and verify markdown generation
  • update PR workflow to run
    pm ci +
    pm test

Validation

pm test (passes locally)

@MekDrop MekDrop merged commit edd0c12 into main Mar 27, 2026
7 checks passed
@MekDrop MekDrop deleted the feat/container-action branch March 27, 2026 03:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant