Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
berat-samli authored Mar 17, 2024
1 parent 953a583 commit 03b734e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
postgres:
image: postgres:latest
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: 123
POSTGRES_DB: transcendenceDB
POSTGRES_USER: ${{ secrets.POSTGRES_USER }}
POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }}
POSTGRES_DB: ${{ secrets.POSTGRES_DB }}
ports:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
Expand All @@ -37,9 +37,9 @@ jobs:
run: |
cd API
export PG_HOST=localhost
export PG_USER=postgres
export PG_PASSWORD=123
export PG_DB=transcendenceDB
export PG_USER=${{ secrets.POSTGRES_USER }}
export PG_PASSWORD=${{ secrets.POSTGRES_PASSWORD }}
export PG_DB=${{ secrets.POSTGRES_DB }}
pip install -r requirements.txt
python manage.py makemigrations
python manage.py migrate
Expand Down

0 comments on commit 03b734e

Please sign in to comment.