We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2508d0f commit ee4bfdfCopy full SHA for ee4bfdf
.github/workflows/maven-verify.yml
@@ -75,6 +75,10 @@ jobs:
75
database: ${{ inputs.db-name }}
76
port: ${{ inputs.db-port }}
77
78
+ - name: Test PostgreSQL connection
79
+ if: inputs.db-type == 'postgresql'
80
+ run: pg_isready --host=localhost --port=${{ inputs.db-port }} --dbname=${{ inputs.db-name }} --username=${{ inputs.db-username }}
81
+
82
- # https://github.com/ankane/setup-mongodb
83
# copied from FDP v1.17.2 build.yml
84
# TODO: ankane/setup-mongodb is a one-man band, should we use an alternative?
.github/workflows/test-maven-verify.yml
@@ -37,7 +37,7 @@ jobs:
37
db_name: 'test'
38
db_username: 'test'
39
db_password: 'test'
40
- db_port: 5432
+ db_port: 54321
41
uses: ./.github/workflows/maven-verify.yml
42
with:
43
runner: ${{ matrix.runner }}
0 commit comments