From 1312e03ba084cab0d4604e9451deb233a3578108 Mon Sep 17 00:00:00 2001 From: Stephan Robotta Date: Fri, 6 Dec 2024 20:52:03 +0100 Subject: [PATCH] Adapt ci pipeline to 5.0dev requirements. --- .github/workflows/moodle-plugin-ci.yml | 69 +++----------------------- 1 file changed, 6 insertions(+), 63 deletions(-) diff --git a/.github/workflows/moodle-plugin-ci.yml b/.github/workflows/moodle-plugin-ci.yml index c7ca7c3..0c6f9c4 100644 --- a/.github/workflows/moodle-plugin-ci.yml +++ b/.github/workflows/moodle-plugin-ci.yml @@ -8,7 +8,7 @@ jobs: services: postgres: - image: postgres:13 + image: postgres:14 env: POSTGRES_USER: 'postgres' POSTGRES_HOST_AUTH_METHOD: 'trust' @@ -16,12 +16,12 @@ jobs: - 5432:5432 options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 3 mariadb: - image: mariadb:10.6 + image: mariadb:11.4 env: - MYSQL_USER: 'root' - MYSQL_ALLOW_EMPTY_PASSWORD: "true" - MYSQL_CHARACTER_SET_SERVER: "utf8mb4" - MYSQL_COLLATION_SERVER: "utf8mb4_unicode_ci" + MARIADB_USER: 'root' + MARiADB_ALLOW_EMPTY_PASSWORD: "1" + MARIADB_CHARACTER_SET_SERVER: "utf8mb4" + MARIADB_COLLATION_SERVER: "utf8mb4_unicode_ci" ports: - 3306:3306 options: --health-cmd="mysqladmin ping" --health-interval 10s --health-timeout 5s --health-retries 3 @@ -46,62 +46,6 @@ jobs: moodle-branch: main database: mariadb plugin-ci: ^4 - - php: 8.1 - moodle-branch: main - database: pgsql - plugin-ci: ^4 - - php: 8.1 - moodle-branch: main - database: mariadb - plugin-ci: ^4 - - php: 8.3 - moodle-branch: MOODLE_405_STABLE - database: pgsql - plugin-ci: ^4 - - php: 8.3 - moodle-branch: MOODLE_405_STABLE - database: mariadb - plugin-ci: ^4 - - php: 8.2 - moodle-branch: MOODLE_405_STABLE - database: pgsql - plugin-ci: ^4 - - php: 8.2 - moodle-branch: MOODLE_405_STABLE - database: mariadb - plugin-ci: ^4 - - php: 8.1 - moodle-branch: MOODLE_405_STABLE - database: pgsql - plugin-ci: ^4 - - php: 8.1 - moodle-branch: MOODLE_405_STABLE - database: mariadb - plugin-ci: ^4 - - php: 8.3 - moodle-branch: MOODLE_404_STABLE - database: pgsql - plugin-ci: ^4 - - php: 8.3 - moodle-branch: MOODLE_404_STABLE - database: mariadb - plugin-ci: ^4 - - php: 8.2 - moodle-branch: MOODLE_404_STABLE - database: pgsql - plugin-ci: ^4 - - php: 8.2 - moodle-branch: MOODLE_404_STABLE - database: mariadb - plugin-ci: ^4 - - php: 8.1 - moodle-branch: MOODLE_404_STABLE - database: pgsql - plugin-ci: ^4 - - php: 8.1 - moodle-branch: MOODLE_404_STABLE - database: mariadb - plugin-ci: ^4 steps: - name: Check out repository code @@ -113,7 +57,6 @@ jobs: uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} - extensions: ${{ matrix.extensions }} ini-values: max_input_vars=5000 coverage: none