ci: add MySQL 8.4 test lane
Moodle Plugin CI / Test (mysql) (push) Successful in 3m45s
Moodle Plugin CI / Test (postgresql) (push) Successful in 3m15s

This commit is contained in:
2026-08-23 22:58:57 +04:00
parent d76637c7c3
commit 82023483ff
4 changed files with 83 additions and 29 deletions
+15 -4
View File
@@ -10,15 +10,26 @@ The `develop` branch is unreleased modernization work toward `6.0.0` and is not
## Current CI baseline
Gitea Actions currently tests only Moodle `5.2.2` on PHP `8.4` with PostgreSQL `16`. This is a development baseline, not the final support matrix.
Gitea Actions currently tests Moodle `5.2.2` on PHP `8.4` with PostgreSQL `16` and MySQL `8.4`. This is a development baseline, not the final support matrix.
Run the same checks from the repository root with Docker:
PostgreSQL:
```bash
export COMPOSE_PROJECT_NAME=local_webhooks_local
export COMPOSE_PROJECT_NAME=local_webhooks_local_postgresql
docker compose build --pull ci
docker compose up --abort-on-container-exit --exit-code-from ci
docker compose down --volumes --remove-orphans
docker compose up --abort-on-container-exit --exit-code-from ci ci
docker compose down --volumes --remove-orphans --rmi local
```
MySQL:
```bash
export COMPOSE_PROJECT_NAME=local_webhooks_local_mysql
docker compose --profile mysql build --pull ci-mysql
docker compose --profile mysql up --abort-on-container-exit --exit-code-from ci-mysql ci-mysql
docker compose --profile mysql down --volumes --remove-orphans --rmi local
```
## License