File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -31,14 +31,19 @@ jobs:
31
31
uses : actions/setup-python@v5
32
32
with :
33
33
python-version : ${{ matrix.python-version }}
34
+ # - name: Wait for PostgreSQL to become ready
35
+ # run: |
36
+ # for i in {1..30}; do
37
+ # pg_isready -h postgresdbTest -p 5432 && echo Success && exit 0
38
+ # echo -n .
39
+ # sleep 2
40
+ # done
41
+ # echo Failed waiting for Postgres && exit 1
34
42
- name : Wait for PostgreSQL to become ready
35
- run : |
36
- for i in {1..10}; do
37
- pg_isready -h postgresdbTest -p 5432 && echo Success && exit 0
38
- echo -n .
39
- sleep 1
40
- done
41
- echo Failed waiting for Postgres && exit 1
43
+ uses : SuperTanker/wait-for-postgres-action@v1.0.0
44
+ with :
45
+ host : postgresdbTest
46
+ port : 5432
42
47
- name : Install dependencies
43
48
run : |
44
49
python -m pip install --upgrade pip
You can’t perform that action at this time.
0 commit comments