Skip to content

Commit c190982

Browse files
committed
updates
1 parent 22e9183 commit c190982

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/testing.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,25 +20,26 @@ jobs:
2020
ports:
2121
- 5432:5432
2222
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
23+
2324
strategy:
2425
max-parallel: 10
2526
matrix:
2627
os: [ubuntu-latest] #, windows-latest]
2728
python-version: ["3.12"] #"3.9", "3.10", "3.11", "3.12"]
2829
steps:
29-
- uses: actions/checkout@v4
30-
- name: Set up Python ${{ matrix.python-version }}
31-
uses: actions/setup-python@v5
32-
with:
33-
python-version: ${{ matrix.python-version }}
3430
- name: Wait for PostgreSQL to become ready
3531
run: |
3632
for i in {1..30}; do
37-
pg_isready -h postgresdbTest -p 5432 && echo Success && exit 0
33+
pg_isready -h localhost -p 5432 && echo Success && exit 0
3834
echo -n .
3935
sleep 2
4036
done
4137
echo Failed waiting for Postgres && exit 1
38+
- uses: actions/checkout@v4
39+
- name: Set up Python ${{ matrix.python-version }}
40+
uses: actions/setup-python@v5
41+
with:
42+
python-version: ${{ matrix.python-version }}
4243
- name: Install dependencies
4344
run: |
4445
python -m pip install --upgrade pip

0 commit comments

Comments
 (0)