Skip to content

Commit

Permalink
create .env.testing file
Browse files Browse the repository at this point in the history
  • Loading branch information
creme332 committed Jun 6, 2024
1 parent 61fcf48 commit bbebed9
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,17 @@ jobs:
mysql -u$DB_USER -p$DB_PASSWORD -hlocalhost -P3306 -Dcafe_test < "resources/database/cafe_test_data.sql"
mysql -e "USE cafe_test; SHOW TABLES;" -u$DB_USER -p$DB_PASSWORD
- name: Create .env file
- name: Create .env.testing file
env:
ENV: |
PUBLIC_ROOT="http://localhost/steamy-sips/public"
DB_HOST="localhost"
DB_USERNAME="root"
DB_PASSWORD="root"
TEST_DB_NAME="cafe_test"
BUSINESS_GMAIL=""
BUSINESS_GMAIL_PASSWORD=""
ENV: |
DB_HOST="localhost"
DB_USERNAME="root"
DB_PASSWORD="root"
DB_NAME="cafe_test"
API_BASE_URI="http://steamy.localhost/api/v1/"
run: |
echo "$ENV" > .env
cat .env
echo "$ENV" > .env.testing
cat .env.testing
- name: Validate composer.json and composer.lock
run: composer validate --strict
Expand Down

0 comments on commit bbebed9

Please sign in to comment.