diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6e4fbba..1af9543 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,10 +15,8 @@ jobs: mariadb: image: mariadb:10.6 env: - MARIADB_USER: test - MARIADB_PASSWORD: test - MARIADB_DATABASE: ispybtest - MARIADB_ROOT_PASSWORD: mariadb_root_pwd + MYSQL_DATABASE: ispybtest + MYSQL_ROOT_PASSWORD: mariadb_root_pwd ports: - 3306:3306 options: --health-cmd="healthcheck.sh --connect --innodb_initialized" --health-interval=10s --health-timeout=5s --health-retries=3 @@ -41,6 +39,12 @@ jobs: name: package-distributions path: dist/ + - uses: shogo82148/actions-setup-mysql@v1 + with: + distribution: 'mariadb' + mysql-version: '10.8' + auto-start: false + - name: Set up test database run: | set -eu