Skip to content

Commit bd244d6

Browse files
Added DB enviroment variables in pytest.yaml
1 parent 644647f commit bd244d6

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.github/workflows/pytest.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ on:
88
jobs:
99
pytest:
1010
runs-on: ubuntu-latest
11+
env:
12+
DB_USER: "Postgres"
13+
DB_PASSWORD: "postgres"
14+
DB_HOST: "localhost"
15+
DB_PORT: "5432"
16+
DB_NAME: "postgres"
1117

1218
steps:
1319
- uses: actions/checkout@v4
@@ -27,3 +33,10 @@ jobs:
2733

2834
- name: Print secrets
2935
run: echo "TEST_API_KEY -> ${{secrets.TEST_API_KEY}}"
36+
37+
- name: Print DB environment variables
38+
run: echo "DB_USER -> ${{env.DB_USER}}
39+
DB_PASSWORD -> ${{env.DB_PASSWORD}}
40+
DB_HOST -> ${{env.DB_HOST}}
41+
DB_PORT -> ${{env.DB_PORT}}
42+
DB_NAME -> ${{env.DB_NAME}}"

0 commit comments

Comments
 (0)