Skip to content

Commit

Permalink
Add missing services image name
Browse files Browse the repository at this point in the history
  • Loading branch information
vmcj committed Dec 2, 2024
1 parent 3fbd2d4 commit c0ba990
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c0ba990

Please sign in to comment.