From f27eecce1fcf639570be8f87c6277154cda5fabf Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Fri, 13 Oct 2023 16:17:58 +0530 Subject: [PATCH] ci: added collation server for mariadb --- .github/helper/install.sh | 4 ++++ .github/workflows/ci.yml | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/helper/install.sh b/.github/helper/install.sh index b5661726..198ead37 100644 --- a/.github/helper/install.sh +++ b/.github/helper/install.sh @@ -2,6 +2,10 @@ set -e cd ~ || exit +sudo apt update +sudo apt remove mysql-server mysql-client +sudo apt install libcups2-dev redis-server mariadb-client-10.6 + echo "Setting Up Bench..." pip install frappe-bench diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 49978e98..6703541e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -83,8 +83,6 @@ jobs: - name: Install run: | bash ${GITHUB_WORKSPACE}/.github/helper/install.sh - env: - BRANCH_TO_CLONE: ${{ env.HR_BRANCH }} - name: Run Tests run: cd ~/frappe-bench/ && bench --site lms.test run-parallel-tests --app lms --total-builds 2 --build-number ${{ matrix.container }}