From 6b1b478cb9a8eb2f47d7d12b2d38eb9f13600e14 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sun, 28 Jun 2020 15:26:09 -0700 Subject: [PATCH] Fix envrionment configuration --- .env.travis => .env.ci | 6 +++--- .github/workflows/tests.yml | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) rename .env.travis => .env.ci (77%) diff --git a/.env.travis b/.env.ci similarity index 77% rename from .env.travis rename to .env.ci index e0040b94..e99f4669 100644 --- a/.env.travis +++ b/.env.ci @@ -2,13 +2,13 @@ APP_ENV=testing APP_DEBUG=true APP_KEY=SomeRandomString3232RandomString APP_THEME=pterodactyl -APP_TIMEZONE=UTC +APP_TIMEZONE=America/Los_Angeles APP_URL=http://localhost/ TESTING_DB_HOST=127.0.0.1 -TESTING_DB_DATABASE=travis +TESTING_DB_DATABASE=panel_test TESTING_DB_USERNAME=root -TESTING_DB_PASSWORD="" +TESTING_DB_PASSWORD= CACHE_DRIVER=array SESSION_DRIVER=array diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 85056383..5d99550d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -40,6 +40,8 @@ jobs: extensions: cli, openssl, gd, mysql, pdo, mbstring, tokenizer, bcmath, xml, curl, zip tools: composer:v1 coverage: none + - name: configure + run: cp .env.ci .env - name: install dependencies run: composer install --prefer-dist --no-interaction --no-progress - name: execute tests