diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 6bd256a61..c39fced4c 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -13,8 +13,8 @@ jobs: matrix: # Define jobs for all combinations of php, mariadb and extension, up to "include" # Tests will be performed for each combination - php-version: ["5.4", "5.5", "5.6", "7.0", "7.1", "7.4"] - mariadb-version: ["10.3", "10.4", "10.5", "10.6", "10.11", "11", "latest"] + php-version: ["5.4", "7.4"] + mariadb-version: ["10.3", "11", "latest"] extension: ["pdo_mysql"] include: - php-version: "5.4" @@ -39,7 +39,10 @@ jobs: MYSQL_USER: "user" MYSQL_PASSWORD: "password" - options: --health-cmd="mariadb-admin ping" --health-interval=5s --health-timeout=2s --health-retries=3 + if [[ ${{ matrix.mariadb-version }} == "10.3" ]] + options: --health-cmd="mysqladmin ping" --health-interval=5s --health-timeout=2s --health-retries=3 + else + options: --health-cmd="mariadb-admin ping" --health-interval=5s --health-timeout=2s --health-retries=3 ports: - "3306:3306"