From fe18c6f52127d17e83923fa4fc57813e27bd7312 Mon Sep 17 00:00:00 2001 From: Austin Kregel Date: Sat, 15 May 2021 02:01:19 -0400 Subject: [PATCH] Update the pipelienes again --- .env.pipelines | 7 ++++++- .github/workflows/run-tests.yml | 4 +++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.env.pipelines b/.env.pipelines index 706a20e..1327beb 100644 --- a/.env.pipelines +++ b/.env.pipelines @@ -6,7 +6,12 @@ APP_URL=http://localhost LOG_CHANNEL=stack -DB_CONNECTION=sqlite +DB_CONNECTION=mysql +DB_HOST=127.0.0.1 +DB_PORT=3306 +DB_DATABASE=testing +DB_USERNAME=root +DB_PASSWORD=root BROADCAST_DRIVER=log CACHE_DRIVER=file diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 6eb85bf..41d0e6c 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -12,7 +12,9 @@ jobs: run: bash .github/scripts/install-php.sh - name: Install dependencies run: | - sudo apt update && sudo apt install sqlite3 -y + sudo systemctl start mysql.service + mysql -uroot -h127.0.0.1 -proot -e 'CREATE DATABASE IF NOT EXISTS testing;' + sudo apt update && sudo apt install -y php-mysql composer install --prefer-dist --no-progress --no-suggest - name: Run tests run: |