ci: add MySQL 8.4 test lane
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user