Skip to content

Commit

Permalink
Try hardcoding envs
Browse files Browse the repository at this point in the history
  • Loading branch information
farreldarian committed Dec 24, 2023
1 parent b6bd4f2 commit 87ac265
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ jobs:
env:
MYSQL_ROOT_PASSWORD: mysql
MYSQL_DATABASE: testdb
MYSQL_USER: testuser
MYSQL_PASSWORD: testpassword
ports:
- 3306:3306

Expand All @@ -41,7 +39,7 @@ jobs:

- name: Set environment variables
run: |
echo "PG_DATABASE_URL=postgres://$POSTGRES_USER:$POSTGRES_PASSWORD@0.0.0.0:5432/$POSTGRES_DB" >> $GITHUB_ENV
echo "MYSQL_DATABASE_URL=mysql://$MYSQL_USER:$MYSQL_PASSWORD@0.0.0.0:3306/$MYSQL_DATABASE" >> $GITHUB_ENV
echo "PG_DATABASE_URL=postgres://postgres:postgres@0.0.0.0:5432/testdb" >> $GITHUB_ENV
echo "MYSQL_DATABASE_URL=mysql://root:mysql@0.0.0.0:3306/testdb" >> $GITHUB_ENV
- name: Test
run: turbo test

0 comments on commit 87ac265

Please sign in to comment.