File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -20,25 +20,26 @@ jobs:
20
20
ports :
21
21
- 5432:5432
22
22
options : --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
23
+
23
24
strategy :
24
25
max-parallel : 10
25
26
matrix :
26
27
os : [ubuntu-latest] # , windows-latest]
27
28
python-version : ["3.12"] # "3.9", "3.10", "3.11", "3.12"]
28
29
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 }}
34
30
- name : Wait for PostgreSQL to become ready
35
31
run : |
36
32
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
38
34
echo -n .
39
35
sleep 2
40
36
done
41
37
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 }}
42
43
- name : Install dependencies
43
44
run : |
44
45
python -m pip install --upgrade pip
You can’t perform that action at this time.
0 commit comments