Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .env.ci
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# Used for Github Actions test suite checks running `php artisan test --env=ci` against MySQL

APP_NAME=HackGreenville
APP_ENV=local
APP_ENV=testing
APP_KEY=base64:yKCXZDC0GPzDQ0GmXrG2RY4Q010/t494Auq/yCUXVpA=
APP_DEBUG=true
FORCE_SSL=false
APP_URL=http://localhost
LOG_CHANNEL=single

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
Expand Down Expand Up @@ -52,4 +56,4 @@ SLACK_SIGNING_SECRET=
SLACK_CLIENT_ID=
SLACK_CLIENT_SECRET=

EVENT_DEBUG_LOGGING_ENABLED=1
EVENT_DEBUG_LOGGING_ENABLED=1
8 changes: 4 additions & 4 deletions .env.testing
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Used for fast, local dev test suite checks running `php artisan test` against SQLite

APP_NAME=HackGreenville
APP_ENV=local
APP_KEY=base64:yKCXZDC0GPzDQ0GmXrG2RY4Q010/t494Auq/yCUXVpA=
APP_DEBUG=true
APP_URL=http://localhost

FORCE_SSL=false

APP_URL=http://localhost
LOG_CHANNEL=single

DB_CONNECTION=sqlite
Expand Down Expand Up @@ -52,4 +52,4 @@ SLACK_SIGNING_SECRET=
SLACK_CLIENT_ID=
SLACK_CLIENT_SECRET=

EVENT_DEBUG_LOGGING_ENABLED=1
EVENT_DEBUG_LOGGING_ENABLED=1
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ jobs:
run: yarn build

- name: run tests
run: php artisan test
run: php artisan test --env=ci
4 changes: 3 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,9 @@ Telescope is a Laravel Debugging tool that allows you to see all the requests ma
# Environment Variables

- The sample .env.example OR .env.docker is used as a template for new projects. A .env file must exist based on one of these files, based on how the app is running (Native or Docker)
- The .env.ci and .env.testing are used for their respective tasks.
- The .env.ci and .env.testing are used for test suite checks for:
- _.env.ci_ | Github Actions runs of `php artisan test --env=ci` against MySQL in the test container.
- _.env.testing_ | fast, local runs of `php artisan test` against SQLite on dev.
- Be sure to clear the configuration cache after any changes to .env using `php artisan config:clear && php artisan config:cache`
- Additional defaults may be as defined in _config/app.php_
- Debugging can be enabled in development by setting `TELESCOPE_ENABLED=TRUE` in your local `.env`
Expand Down
12 changes: 6 additions & 6 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading