Skip to content

Commit

Permalink
Add MOODLE_403_STABLE GHA tests
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Oct 9, 2023
1 parent 36ed8a7 commit ca5c252
Showing 1 changed file with 21 additions and 7 deletions.
28 changes: 21 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ jobs:
# PostgreSQL (highest, lowest php supported)
- { branch: master, php: "8.2", database: pgsql, suite: phpunit-full } # Full run only for master.
- { branch: master, php: "8.0", database: pgsql, suite: phpunit-full }
- { branch: MOODLE_402_STABLE, php: "8.2", database: pgsql, suite: phpunit } # Other branches, quicker run.
- { 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 }
- { branch: MOODLE_402_STABLE, php: "8.0", database: pgsql, suite: phpunit }
- { branch: MOODLE_401_STABLE, php: "8.1", database: pgsql, suite: phpunit }
- { branch: MOODLE_401_STABLE, php: "7.4", database: pgsql, suite: phpunit }
Expand All @@ -27,6 +29,7 @@ jobs:
- { branch: MOODLE_39_STABLE, php: "7.2", database: pgsql, suite: phpunit }
# MariaDB (lowest php supported)
- { branch: master, php: "8.0", 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 }
- { branch: MOODLE_400_STABLE, php: "7.3", database: mariadb, suite: phpunit }
Expand All @@ -35,20 +38,23 @@ jobs:
- { branch: MOODLE_39_STABLE, php: "7.2", database: mariadb, suite: phpunit }
# Other databases (highest php supported)
- { branch: master, php: "8.2", 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 }
- { branch: MOODLE_400_STABLE, php: "8.0", database: mssql, suite: phpunit }
- { branch: MOODLE_311_STABLE, php: "8.0", database: mssql, suite: phpunit }
- { branch: MOODLE_310_STABLE, php: "7.4", database: mssql, suite: phpunit }
- { branch: MOODLE_39_STABLE, php: "7.4", database: mssql, suite: phpunit }
- { branch: master, php: "8.2", 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 }
- { branch: MOODLE_400_STABLE, php: "8.0", database: mysql, suite: phpunit }
- { branch: MOODLE_311_STABLE, php: "8.0", database: mysql, suite: phpunit }
- { branch: MOODLE_310_STABLE, php: "7.4", database: mysql, suite: phpunit }
- { branch: MOODLE_39_STABLE, php: "7.4", database: mysql, suite: phpunit }
- { branch: master, php: "8.2", 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 }
- { branch: MOODLE_400_STABLE, php: "8.0", database: oracle, suite: phpunit }
Expand Down Expand Up @@ -97,6 +103,8 @@ jobs:
# PostgreSQL (highest, lowest php supported)
- { branch: master, php: "8.2", database: pgsql, browser: chrome, suite: behat }
- { branch: master, php: "8.0", 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 }
- { branch: MOODLE_402_STABLE, php: "8.0", database: pgsql, browser: firefox, suite: behat }
- { branch: MOODLE_401_STABLE, php: "8.1", database: pgsql, browser: chrome, suite: behat }
Expand All @@ -111,6 +119,7 @@ jobs:
- { branch: MOODLE_39_STABLE, php: "7.2", database: pgsql, browser: firefox, suite: behat }
# MariaDB (lowest php supported)
- { branch: master, php: "8.0", database: mariadb, browser: chrome, 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 }
- { branch: MOODLE_400_STABLE, php: "7.3", database: mariadb, browser: firefox, suite: behat }
Expand All @@ -119,20 +128,23 @@ jobs:
- { branch: MOODLE_39_STABLE, php: "7.2", database: mariadb, browser: chrome, suite: behat }
# Other databases (highest php supported")
- { branch: master, php: "8.2", database: mssql, browser: firefox, 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 }
- { branch: MOODLE_400_STABLE, php: "8.0", database: mssql, browser: chrome, suite: behat }
- { branch: MOODLE_311_STABLE, php: "8.0", database: mssql, browser: firefox, suite: behat }
- { 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: master, php: "8.2", database: mysql, browser: chrome, 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 }
- { branch: MOODLE_400_STABLE, php: "8.0", database: mysql, browser: firefox, suite: behat }
- { branch: MOODLE_311_STABLE, php: "8.0", database: mysql, browser: chrome, suite: behat }
- { 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: master, php: "8.2", database: oracle, browser: firefox, 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 }
- { branch: MOODLE_400_STABLE, php: "8.0", database: oracle, browser: chrome, suite: behat }
Expand Down Expand Up @@ -181,14 +193,16 @@ jobs:
include:
# PostgreSQL (highest, lowest php supported)
# First tests are for app developers.
- { branch: MOODLE_402_STABLE, php: "8.2", database: pgsql, runtime: ionic5, suite: app-development, app-version: "latest"}
- { branch: MOODLE_402_STABLE, php: "8.0", database: pgsql, runtime: ionic5, suite: app-development, app-version: "latest"}
- { branch: MOODLE_402_STABLE, php: "8.2", database: pgsql, runtime: ionic5, suite: app-development, app-version: "main" }
- { branch: MOODLE_402_STABLE, php: "8.2", database: pgsql, runtime: ionic5, suite: app-development, app-version: "main" }
- { branch: MOODLE_403_STABLE, php: "8.2", database: pgsql, runtime: ionic5, suite: app-development, app-version: "latest"}
- { branch: MOODLE_403_STABLE, php: "8.0", database: pgsql, runtime: ionic5, suite: app-development, app-version: "latest"}
- { branch: MOODLE_403_STABLE, php: "8.2", database: pgsql, runtime: ionic5, suite: app-development, app-version: "main" }
- { branch: MOODLE_403_STABLE, php: "8.0", database: pgsql, runtime: ionic5, suite: app-development, app-version: "main" }
# Tests for Moodle plugin developers who want to test against the next version of the app.
- { branch: MOODLE_402_STABLE, php: "8.2", database: pgsql, runtime: ionic5, suite: app, app-version: "next-dev"}
- { branch: MOODLE_402_STABLE, php: "8.0", database: pgsql, runtime: ionic5, suite: app, app-version: "next-dev"}
- { branch: MOODLE_403_STABLE, php: "8.2", database: pgsql, runtime: ionic5, suite: app, app-version: "next-dev"}
- { branch: MOODLE_403_STABLE, php: "8.0", database: pgsql, runtime: ionic5, suite: app, app-version: "next-dev"}
# Tests for Moodle plugin developers testing against all supported versions of Moodle.
- { branch: MOODLE_403_STABLE, php: "8.2", database: pgsql, runtime: ionic5, suite: app, app-version: "latest-dev"}
- { branch: MOODLE_403_STABLE, php: "8.0", database: pgsql, runtime: ionic5, suite: app, app-version: "latest-dev"}
- { branch: MOODLE_402_STABLE, php: "8.2", database: pgsql, runtime: ionic5, suite: app, app-version: "latest-dev"}
- { branch: MOODLE_402_STABLE, php: "8.0", database: pgsql, runtime: ionic5, suite: app, app-version: "latest-dev"}
- { branch: MOODLE_401_STABLE, php: "8.1", database: pgsql, runtime: ionic5, suite: app, app-version: "latest-dev"}
Expand Down

0 comments on commit ca5c252

Please sign in to comment.