Skip to content

feat: add an optional MariaDB service to the PHPUnit workflow - #6

Merged
loicsapone merged 1 commit into
mainfrom
feat/php-tests-mariadb
Oct 22, 2026
Merged

loicsapone merged 1 commit into
mainfrom
feat/php-tests-mariadb

Conversation

@loicsapone

Copy link
Copy Markdown
Member

Adds an optional mariadb-version input to php-tests.yml. When set, a MariaDB service is started and DATABASE_URL is exported (user root, database app) before the before-script. The default (empty) keeps the current behaviour: the service has an empty image and is skipped (checked on a throwaway branch: job green without service, MariaDB started when set). Needed by applications whose tests hit a real database, e.g. ngap-api.

@loicsapone
loicsapone merged commit 94d0380 into main Oct 22, 2026
1 check passed
@loicsapone
loicsapone deleted the feat/php-tests-mariadb branch October 22, 2026 13:28
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