diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 7cc9ea50b0..0befe33877 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -16,27 +16,28 @@ jobs: run: exit 0 unit-tests: - services: - sqlserver: - image: ${{ matrix.SQL }} - ports: - - 3306:3306 - env: - MYSQL_ROOT_PASSWORD: root - options: ${{ matrix.SQL_OPTIONS }} --health-interval=10s --health-timeout=5s --health-retries=3 - container: - image: domjudge/gitlabci:24.04 strategy: matrix: PHPVERSION: [8.1] TEST: [Unit, E2E] CRAWL_SHADOW_MODE: [0] SQL_OPTIONS: [--health-cmd="healthcheck.sh --connect --innodb_initialized"] + SQL: mariadb #include: # - PHPVERSION: 8.4 # TEST: Unit # SQL: mysql # SQL_OPTIONS: --health-cmd="mysqladmin ping" + services: + sqlserver: + image: ${{ matrix.SQL }} + ports: + - 3306:3306 + env: + MYSQL_ROOT_PASSWORD: root + options: ${{ matrix.SQL_OPTIONS }} --health-interval=10s --health-timeout=5s --health-retries=3 + container: + image: domjudge/gitlabci:24.04 runs-on: ubuntu-latest steps: - uses: actions/checkout@v4