-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #135 from wri/feat/TM-785-unit-tests
[TM-785] Unit testing and linting for the BE repo
- Loading branch information
Showing
341 changed files
with
738 additions
and
18,248 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
APP_NAME=Laravel | ||
APP_ENV=local | ||
APP_KEY=base64:dGJr4Cs1jvRm98V15YvJhtrkkDiU4aXPK/0LAZhjSFA= | ||
APP_DEBUG=true | ||
APP_URL=http://127.0.0.1:8080 | ||
APP_FRONT_END=http://localhost:3000 | ||
|
||
LOG_CHANNEL=stack | ||
|
||
DB_CONNECTION=mysql | ||
DB_HOST=mariadb | ||
DB_PORT=3306 | ||
DB_DATABASE=terramatch_test | ||
DB_USERNAME=wri | ||
DB_PASSWORD=wri | ||
|
||
BROADCAST_DRIVER=log | ||
CACHE_DRIVER=redis | ||
QUEUE_CONNECTION=redis | ||
SESSION_DRIVER=redis | ||
SESSION_CONNECTION=default | ||
SESSION_LIFETIME=120 | ||
|
||
SNS_PLATFORM_ARN_IOS=arn:aws:sns:us-west-2:123456789012:app/APNS/wri_rm_ios | ||
SNS_PLATFORM_ARN_ANDROID=arn:aws:sns:us-west-2:123456789012:app/FCM/wri_rm_android | ||
SNS_PREFIX=http://motocker:9911 | ||
SNS_ENABLED=false | ||
|
||
REDIS_HOST=redis | ||
REDIS_PASSWORD= | ||
REDIS_PORT=6379 | ||
REDIS_QUEUE_NAME=wri_test | ||
REDIS_DB=0 | ||
REDIS_CACHE_DB=1 | ||
|
||
MAIL_MAILER=smtp | ||
MAIL_HOST=mailcatcher | ||
MAIL_PORT=1025 | ||
MAIL_USERNAME= | ||
MAIL_PASSWORD= | ||
MAIL_ENCRYPTION=null | ||
MAIL_FROM_ADDRESS=[email protected] | ||
MAIL_FROM_NAME="WRI TerraMatch" | ||
|
||
AWS_ACCESS_KEY_ID=AKIABUVWH1HUD7YQZQAR | ||
AWS_SECRET_ACCESS_KEY=PVMlDMep3/jLSz9GxPV3mTvH4JZynkf2BFeTu+i8 | ||
AWS_DEFAULT_REGION=us-west-2 | ||
AWS_BUCKET=wri | ||
S3_PREFIX=http://minio:9000 | ||
S3_BUCKET=wri | ||
|
||
PUSHER_APP_ID= | ||
PUSHER_APP_KEY= | ||
PUSHER_APP_SECRET= | ||
PUSHER_APP_CLUSTER= | ||
|
||
MIX_PUSHER_APP_KEY= | ||
MIX_PUSHER_APP_CLUSTER= | ||
|
||
JWT_SECRET=qu3sep4GKdbg6PiVPCKLKljHukXALorq6nLHDBOCSwvs6BrgE6zb8gPmZfrNspKt | ||
|
||
ELASTIC_TRANSCODER_PREFIX=http://elastictranscoder:2323 | ||
ELASTIC_TRANSCODER_PIPELINE_ID=1111111111111-abcde1 | ||
ELASTIC_TRANSCODER_PRESET_ID=1351620000001-000001 | ||
|
||
LOG_SLACK_WEBHOOK_URL= | ||
|
||
SENTRY_LARAVEL_DSN= | ||
|
||
TREE_SEARCH_API_URL= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: pull-request | ||
on: | ||
pull_request: | ||
branches: [main, staging, release/**] | ||
jobs: | ||
lintTest: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install deps | ||
run: make composer | ||
- name: Bring up Docker | ||
run: make up | ||
- name: Lint & Test | ||
run: make test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,4 @@ | |
|
||
class InvalidStatusException extends Exception | ||
{ | ||
} | ||
} |
Oops, something went wrong.