From c5b53b9cc4b8a09de24a84bd5824fbda686cda2e Mon Sep 17 00:00:00 2001
From: Alexander Bias <bias@alexanderbias.de>
Date: Sun, 10 Jul 2022 18:23:28 +0200
Subject: [PATCH] Updated Moodle Plugin CI to latest upstream recommendations
---
.github/workflows/moodle-plugin-ci.yml | 7 +++++--
CHANGES.md | 1 +
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/moodle-plugin-ci.yml b/.github/workflows/moodle-plugin-ci.yml
index fbe0a26..113f722 100644
--- a/.github/workflows/moodle-plugin-ci.yml
+++ b/.github/workflows/moodle-plugin-ci.yml
@@ -16,10 +16,13 @@ jobs:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 3
mariadb:
- image: mariadb:10.5
+ image: mariadb:10
env:
MYSQL_USER: 'root'
MYSQL_ALLOW_EMPTY_PASSWORD: "true"
+ MYSQL_CHARACTER_SET_SERVER: "utf8mb4"
+ MYSQL_COLLATION_SERVER: "utf8mb4_unicode_ci"
+
ports:
- 3306:3306
options: --health-cmd="mysqladmin ping" --health-interval 10s --health-timeout 5s --health-retries 3
@@ -101,7 +104,7 @@ jobs:
- name: PHPUnit tests
if: ${{ always() }}
- run: moodle-plugin-ci phpunit
+ run: moodle-plugin-ci phpunit --fail-on-warning
- name: Behat features
if: ${{ always() }}
diff --git a/CHANGES.md b/CHANGES.md
index 0812496..926aecf 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -6,6 +6,7 @@ Changes
### Unreleased
+* 2022-06-26 - Updated Moodle Plugin CI to latest upstream recommendations
* 2022-06-26 - Add UPGRADE.md as internal upgrade documentation
* 2022-06-26 - Update maintainers and copyrights in README.md.
--
GitLab