Spaces:
Runtime error
Runtime error
Commit ·
81c4ef1
1
Parent(s): 9385ab9
Updated yml file
Browse files
.github/workflows/build-deploy.yml
CHANGED
|
@@ -22,6 +22,7 @@ jobs:
|
|
| 22 |
env:
|
| 23 |
POSTGRES_PASSWORD: ${{ secrets.DATABASE_PASSWORD }}
|
| 24 |
POSTGRES_DB: ${{ secrets.DATABASE_NAME }}_test
|
|
|
|
| 25 |
ports:
|
| 26 |
- 5432:5432
|
| 27 |
options: >-
|
|
@@ -38,7 +39,7 @@ jobs:
|
|
| 38 |
- name: Set up Python
|
| 39 |
uses: actions/setup-python@v5
|
| 40 |
with:
|
| 41 |
-
python-version:
|
| 42 |
|
| 43 |
- name: Update pip
|
| 44 |
run: python -m pip install --upgrade pip
|
|
@@ -47,4 +48,4 @@ jobs:
|
|
| 47 |
run: pip install -r requirements.txt
|
| 48 |
|
| 49 |
- name: Run tests
|
| 50 |
-
run: pytest
|
|
|
|
| 22 |
env:
|
| 23 |
POSTGRES_PASSWORD: ${{ secrets.DATABASE_PASSWORD }}
|
| 24 |
POSTGRES_DB: ${{ secrets.DATABASE_NAME }}_test
|
| 25 |
+
POSTGRES_USER: ${{ secrets.DATABASE_USERNAME }}
|
| 26 |
ports:
|
| 27 |
- 5432:5432
|
| 28 |
options: >-
|
|
|
|
| 39 |
- name: Set up Python
|
| 40 |
uses: actions/setup-python@v5
|
| 41 |
with:
|
| 42 |
+
python-version: "3.11"
|
| 43 |
|
| 44 |
- name: Update pip
|
| 45 |
run: python -m pip install --upgrade pip
|
|
|
|
| 48 |
run: pip install -r requirements.txt
|
| 49 |
|
| 50 |
- name: Run tests
|
| 51 |
+
run: pytest
|