From bf0cb25a8804a0085e8b1f368e578c356d575f0a Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Fri, 13 Oct 2023 12:33:16 +0530 Subject: [PATCH] ci: added collation server for mariadb --- .github/workflows/ci.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 03f6e315..7ee6f555 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,18 +20,20 @@ jobs: image: redis:alpine ports: - 12000:6379 - mariadb: - image: mariadb:10.6 - ports: - - 3306:3306 - command: mysqld --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci - env: - MYSQL_ROOT_PASSWORD: root - options: --health-cmd="mysqladmin ping" --health-interval=5s --health-timeout=2s --health-retries=3 + steps: - name: Clone uses: actions/checkout@v2 + - name: Start MariaDB + uses: getong/mariadb-action@v1.1 + host port: 3306 + container port: 3306 + character set server: 'utf8mb4' + collation server: 'utf8_general_ci' + mariadb version: '10.6' + mysql root password: root + - name: Setup Python uses: actions/setup-python@v2 with: