Skip to content

Commit

Permalink
Adding updates to dusk tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tnylea committed Jun 12, 2024
1 parent 9ed76e1 commit 7627ed9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 27 deletions.
25 changes: 1 addition & 24 deletions .env.dusk.local → .env.dusk.ci
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@ LOG_LEVEL=debug

DB_CONNECTION=sqlite
DB_DATABASE=/home/runner/work/auth/auth/laravel_app/database/dusk.sqlite
# DB_HOST=127.0.0.1
# DB_PORT=3306
# DB_DATABASE=laravel
# DB_USERNAME=root
# DB_PASSWORD=

SESSION_DRIVER=file
SESSION_LIFETIME=120
Expand All @@ -37,7 +32,7 @@ BROADCAST_CONNECTION=log
FILESYSTEM_DISK=local
QUEUE_CONNECTION=database

CACHE_STORE=database
CACHE_STORE=file
CACHE_PREFIX=

MEMCACHED_HOST=127.0.0.1
Expand All @@ -47,15 +42,6 @@ REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379

# DUSK_FAKE_MAILS=true

# MAIL_DRIVER=smtp
# MAIL_HOST=localhost
# MAIL_PORT=1025
# MAIL_USERNAME=null
# MAIL_PASSWORD=null
# MAIL_ENCRYPTION=null

MAIL_MAILER=log
MAIL_HOST=127.0.0.1
MAIL_PORT=2525
Expand All @@ -65,15 +51,6 @@ MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS="hello@example.com"
MAIL_FROM_NAME="${APP_NAME}"

# MAIL_MAILER=smtp
# MAIL_HOST=127.0.0.1
# MAIL_PORT=2525
# MAIL_USERNAME=${APP_NAME}
# MAIL_PASSWORD=null
# MAIL_ENCRYPTION=null
# MAIL_FROM_ADDRESS="hello@example.com"
# MAIL_FROM_NAME="${APP_NAME}"

AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=us-east-1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ jobs:
run: touch database/dusk.sqlite
working-directory: ./laravel_app

- name: Move dusk .env.dusk.local file to laravel root
run: cp vendor/devdojo/auth/.env.dusk.local .env.dusk.local
- name: Move dusk .env.dusk.ci file to laravel root
run: cp vendor/devdojo/auth/.env.dusk.ci .env.dusk.ci
working-directory: ./laravel_app

- name: List out .env
Expand Down Expand Up @@ -151,7 +151,7 @@ jobs:
working-directory: ./laravel_app

- name: Run Dusk Tests
run: php artisan dusk -vvv --env=dusk.local
run: php artisan dusk -vvv --env=dusk.ci
working-directory: ./laravel_app

- name: Upload Screenshots
Expand Down

0 comments on commit 7627ed9

Please sign in to comment.