Skip to content

Commit

Permalink
Add MOODLE_404_STABLE GHA tests
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Apr 22, 2024
1 parent 8fae5fa commit 2dc8071
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ jobs:
# PostgreSQL (highest, lowest php supported)
- { branch: main, php: "8.3", database: pgsql, suite: phpunit-full } # Full run only for main.
- { branch: main, php: "8.1", database: pgsql, suite: phpunit-full }
- { branch: MOODLE_404_STABLE, php: "8.3", database: pgsql, suite: phpunit } # Other branches, quicker run.
- { branch: MOODLE_404_STABLE, php: "8.1", database: pgsql, suite: phpunit }
- { branch: MOODLE_403_STABLE, php: "8.2", database: pgsql, suite: phpunit } # Other branches, quicker run.
- { branch: MOODLE_403_STABLE, php: "8.0", database: pgsql, suite: phpunit }
- { branch: MOODLE_402_STABLE, php: "8.2", database: pgsql, suite: phpunit }
Expand All @@ -50,14 +52,14 @@ jobs:
- { branch: MOODLE_401_STABLE, php: "7.4", database: pgsql, suite: phpunit }
- { branch: MOODLE_400_STABLE, php: "8.0", database: pgsql, suite: phpunit }
- { branch: MOODLE_400_STABLE, php: "7.3", database: pgsql, suite: phpunit }
- { branch: MOODLE_311_STABLE, php: "8.0", database: pgsql, suite: phpunit }
- { branch: MOODLE_311_STABLE, php: "7.3", database: pgsql, suite: phpunit }
- { branch: MOODLE_310_STABLE, php: "7.4", database: pgsql, suite: phpunit }
- { branch: MOODLE_310_STABLE, php: "7.2", database: pgsql, suite: phpunit }
- { branch: MOODLE_39_STABLE, php: "7.4", database: pgsql, suite: phpunit }
- { branch: MOODLE_39_STABLE, php: "7.2", database: pgsql, suite: phpunit }
# MariaDB (lowest php supported)
- { branch: main, php: "8.1", database: mariadb, suite: phpunit }
- { branch: MOODLE_404_STABLE, php: "8.1", database: mariadb, suite: phpunit }
- { branch: MOODLE_403_STABLE, php: "8.0", database: mariadb, suite: phpunit }
- { branch: MOODLE_402_STABLE, php: "8.0", database: mariadb, suite: phpunit }
- { branch: MOODLE_401_STABLE, php: "7.4", database: mariadb, suite: phpunit }
Expand All @@ -67,6 +69,7 @@ jobs:
- { branch: MOODLE_39_STABLE, php: "7.2", database: mariadb, suite: phpunit }
# Other databases (highest php supported)
- { branch: main, php: "8.3", database: mssql, suite: phpunit }
- { branch: MOODLE_404_STABLE, php: "8.3", database: mssql, suite: phpunit }
- { branch: MOODLE_403_STABLE, php: "8.2", database: mssql, suite: phpunit }
- { branch: MOODLE_402_STABLE, php: "8.2", database: mssql, suite: phpunit }
- { branch: MOODLE_401_STABLE, php: "8.1", database: mssql, suite: phpunit }
Expand All @@ -75,6 +78,7 @@ jobs:
- { branch: MOODLE_310_STABLE, php: "7.4", database: mssql, suite: phpunit }
- { branch: MOODLE_39_STABLE, php: "7.4", database: mssql, suite: phpunit }
- { branch: main, php: "8.3", database: mysql, suite: phpunit }
- { branch: MOODLE_404_STABLE, php: "8.3", database: mysql, suite: phpunit }
- { branch: MOODLE_403_STABLE, php: "8.2", database: mysql, suite: phpunit }
- { branch: MOODLE_402_STABLE, php: "8.2", database: mysql, suite: phpunit }
- { branch: MOODLE_401_STABLE, php: "8.1", database: mysql, suite: phpunit }
Expand All @@ -83,6 +87,7 @@ jobs:
- { branch: MOODLE_310_STABLE, php: "7.4", database: mysql, suite: phpunit }
- { branch: MOODLE_39_STABLE, php: "7.4", database: mysql, suite: phpunit }
- { branch: main, php: "8.3", database: oracle, suite: phpunit }
- { branch: MOODLE_404_STABLE, php: "8.3", database: oracle, suite: phpunit }
- { branch: MOODLE_403_STABLE, php: "8.2", database: oracle, suite: phpunit }
- { branch: MOODLE_402_STABLE, php: "8.2", database: oracle, suite: phpunit }
- { branch: MOODLE_401_STABLE, php: "8.1", database: oracle, suite: phpunit }
Expand Down Expand Up @@ -133,6 +138,8 @@ jobs:
# PostgreSQL (highest, lowest php supported)
- { branch: main, php: "8.3", database: pgsql, browser: chrome, suite: behat }
- { branch: main, php: "8.1", database: pgsql, browser: firefox, suite: behat }
- { branch: MOODLE_404_STABLE, php: "8.3", database: pgsql, browser: chrome, suite: behat }
- { branch: MOODLE_404_STABLE, php: "8.1", database: pgsql, browser: firefox, suite: behat }
- { branch: MOODLE_403_STABLE, php: "8.2", database: pgsql, browser: chrome, suite: behat }
- { branch: MOODLE_403_STABLE, php: "8.0", database: pgsql, browser: firefox, suite: behat }
- { branch: MOODLE_402_STABLE, php: "8.2", database: pgsql, browser: chrome, suite: behat }
Expand All @@ -149,6 +156,7 @@ jobs:
- { branch: MOODLE_39_STABLE, php: "7.2", database: pgsql, browser: firefox, suite: behat }
# MariaDB (lowest php supported)
- { branch: main, php: "8.1", database: mariadb, browser: chrome, suite: behat }
- { branch: MOODLE_404_STABLE, php: "8.1", database: mariadb, browser: firefox, suite: behat }
- { branch: MOODLE_403_STABLE, php: "8.0", database: mariadb, browser: firefox, suite: behat }
- { branch: MOODLE_402_STABLE, php: "8.0", database: mariadb, browser: firefox, suite: behat }
- { branch: MOODLE_401_STABLE, php: "7.4", database: mariadb, browser: chrome, suite: behat }
Expand All @@ -158,6 +166,7 @@ jobs:
- { branch: MOODLE_39_STABLE, php: "7.2", database: mariadb, browser: chrome, suite: behat }
# Other databases (highest php supported")
- { branch: main, php: "8.3", database: mssql, browser: firefox, suite: behat }
- { branch: MOODLE_404_STABLE, php: "8.3", database: mssql, browser: chrome, suite: behat }
- { branch: MOODLE_403_STABLE, php: "8.2", database: mssql, browser: chrome, suite: behat }
- { branch: MOODLE_402_STABLE, php: "8.2", database: mssql, browser: chrome, suite: behat }
- { branch: MOODLE_401_STABLE, php: "8.1", database: mssql, browser: firefox, suite: behat }
Expand All @@ -166,6 +175,7 @@ jobs:
- { branch: MOODLE_310_STABLE, php: "7.4", database: mssql, browser: chrome, suite: behat }
- { branch: MOODLE_39_STABLE, php: "7.4", database: mssql, browser: firefox, suite: behat }
- { branch: main, php: "8.3", database: mysql, browser: chrome, suite: behat }
- { branch: MOODLE_404_STABLE, php: "8.3", database: mysql, browser: firefox, suite: behat }
- { branch: MOODLE_403_STABLE, php: "8.2", database: mysql, browser: firefox, suite: behat }
- { branch: MOODLE_402_STABLE, php: "8.2", database: mysql, browser: firefox, suite: behat }
- { branch: MOODLE_401_STABLE, php: "8.1", database: mysql, browser: chrome, suite: behat }
Expand All @@ -174,6 +184,7 @@ jobs:
- { branch: MOODLE_310_STABLE, php: "7.4", database: mysql, browser: firefox, suite: behat }
- { branch: MOODLE_39_STABLE, php: "7.4", database: mysql, browser: chrome, suite: behat }
- { branch: main, php: "8.3", database: oracle, browser: firefox, suite: behat }
- { branch: MOODLE_404_STABLE, php: "8.3", database: oracle, browser: chrome, suite: behat }
- { branch: MOODLE_403_STABLE, php: "8.2", database: oracle, browser: chrome, suite: behat }
- { branch: MOODLE_402_STABLE, php: "8.2", database: oracle, browser: chrome, suite: behat }
- { branch: MOODLE_401_STABLE, php: "8.1", database: oracle, browser: firefox, suite: behat }
Expand Down Expand Up @@ -224,14 +235,22 @@ jobs:
include:
# PostgreSQL (highest, lowest php supported)
# First tests are for app developers.
- { branch: MOODLE_404_STABLE, php: "8.3", suite: app-development, app-version: "latest" }
- { branch: MOODLE_404_STABLE, php: "8.1", suite: app-development, app-version: "latest" }
- { branch: MOODLE_404_STABLE, php: "8.3", suite: app-development, app-version: "main" }
- { branch: MOODLE_404_STABLE, php: "8.1", suite: app-development, app-version: "main" }
- { branch: MOODLE_403_STABLE, php: "8.2", suite: app-development, app-version: "latest" }
- { branch: MOODLE_403_STABLE, php: "8.0", suite: app-development, app-version: "latest" }
- { branch: MOODLE_403_STABLE, php: "8.2", suite: app-development, app-version: "main" }
- { branch: MOODLE_403_STABLE, php: "8.0", suite: app-development, app-version: "main" }
# Tests for Moodle plugin developers who want to test against the next version of the app.
- { branch: MOODLE_404_STABLE, php: "8.3", suite: app, app-version: "next-test" }
- { branch: MOODLE_404_STABLE, php: "8.1", suite: app, app-version: "next-test" }
- { branch: MOODLE_403_STABLE, php: "8.2", suite: app, app-version: "next-test" }
- { branch: MOODLE_403_STABLE, php: "8.0", suite: app, app-version: "next-test" }
# Tests for Moodle plugin developers testing against all supported versions of Moodle.
- { branch: MOODLE_404_STABLE, php: "8.3", suite: app, app-version: "latest-test" }
- { branch: MOODLE_404_STABLE, php: "8.1", suite: app, app-version: "latest-test" }
- { branch: MOODLE_403_STABLE, php: "8.2", suite: app, app-version: "latest-test" }
- { branch: MOODLE_403_STABLE, php: "8.0", suite: app, app-version: "latest-test" }
- { branch: MOODLE_402_STABLE, php: "8.2", suite: app, app-version: "latest-test" }
Expand Down

0 comments on commit 2dc8071

Please sign in to comment.