Add postgresql to perform databases tests
This commit is contained in:
parent
4c0ec2ae27
commit
e16843c3e4
@ -16,8 +16,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
java: [ '17' ]
|
java: [ '17' ]
|
||||||
# and run on both Linux and Windows
|
os: [ ubuntu-latest ]
|
||||||
os: [ubuntu-latest, windows-2022]
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: checkout repository
|
- name: checkout repository
|
||||||
@ -29,6 +28,13 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
java-version: ${{ matrix.java }}
|
java-version: ${{ matrix.java }}
|
||||||
distribution: 'oracle'
|
distribution: 'oracle'
|
||||||
|
- name: setup psql
|
||||||
|
uses: https://github.com/harmon758/postgresql-action@v1
|
||||||
|
with:
|
||||||
|
postgresql version: '15'
|
||||||
|
postgresql db: postgres
|
||||||
|
postgresql user: postgres
|
||||||
|
postgresql password: 'root'
|
||||||
- name: make gradle wrapper executable
|
- name: make gradle wrapper executable
|
||||||
if: ${{ runner.os != 'Windows' }}
|
if: ${{ runner.os != 'Windows' }}
|
||||||
run: chmod +x ./gradlew
|
run: chmod +x ./gradlew
|
||||||
|
Loading…
Reference in New Issue
Block a user