Skip to content

Commit

Permalink
output contents of .env for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
creme332 committed Apr 18, 2024
1 parent 8e7845a commit ca45677
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
mysql:
image: mysql:8.0
env:
# The MySQL docker container requires these environment variables to be set
# The MySQL docker container requires these environment variables to be set,
# so we can create and migrate the test database.
# See: https://hub.docker.com/_/mysql
MYSQL_DATABASE: cafe_test
Expand All @@ -33,7 +33,7 @@ jobs:
- name: Import SQL dump to cafe_test database
run: mysql -Dcafe_test -uroot -ppassword -h127.0.0.1 -P3306 < "resources/database/dump/cafe.sql"

- name: Create environment file
- name: Create .env file
env:
ENV: |
PUBLIC_ROOT="http://localhost/steamy-sips/public"
Expand All @@ -45,6 +45,9 @@ jobs:
BUSINESS_GMAIL_PASSWORD=""
run: echo "$ENV" > src/core/.env

- name: Output contents of .env
run: cat src/core/.env

- name: Validate composer.json and composer.lock
run: composer validate --strict

Expand Down

0 comments on commit ca45677

Please sign in to comment.