Skip to content

Commit 2489c6c

Browse files
authored
Merge pull request Azure-Samples#11 from Azure-Samples/readme
Fix tests workflow
2 parents 66cc077 + 59824f3 commit 2489c6c

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

.devcontainer/docker-compose.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ services:
2424
- postgres-data:/var/lib/postgresql/data
2525
environment:
2626
POSTGRES_DB: postgres
27-
POSTGRES_USER: admin
28-
POSTGRES_PASSWORD: LocalPasswordOnly
27+
POSTGRES_USER: postgres
28+
POSTGRES_PASSWORD: postgres
2929

3030
# Add "forwardPorts": ["5432"] to **devcontainer.json** to forward PostgreSQL locally.
3131
# (Adding the "ports" property to this file will not forward from a Codespace.)
3232

3333
volumes:
34-
postgres-data:
34+
postgres-data:

.env.sample

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Use these values to connect to the local database from within the devcontainer
22
POSTGRES_HOST=localhost
3-
POSTGRES_USERNAME=admin
4-
POSTGRES_PASSWORD=LocalPasswordOnly
3+
POSTGRES_USERNAME=postgres
4+
POSTGRES_PASSWORD=postgres
55
POSTGRES_DATABASE=postgres
66
POSTGRES_SSL=disable
77

.github/workflows/app-tests.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
os: ["ubuntu-20.04"]
17-
python_version: ["3.9", "3.10", "3.11", "3.12"]
17+
python_version: ["3.10", "3.11", "3.12"]
1818
services:
1919
postgres:
2020
image: pgvector/pgvector:pg16
@@ -38,6 +38,7 @@ jobs:
3838
run: |
3939
python -m pip install -e src
4040
- name: Setup local database with seed data
41+
run: |
4142
cp .env.sample .env
4243
python ./src/fastapi_app/setup_postgres_database.py
4344
python ./src/fastapi_app/setup_postgres_seeddata.py

.vscode/settings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
"driver": "PostgreSQL",
88
"name": "local",
99
"database": "postgres",
10-
"username": "admin",
11-
"password": "LocalPasswordOnly"
10+
"username": "postgres",
11+
"password": "postgres"
1212
},
1313
{
1414
"name": "Azure database",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy