From e16843c3e4209b58a3e56615ce011e0ea4ea7d4b Mon Sep 17 00:00:00 2001 From: Quentin Legot Date: Thu, 23 Mar 2023 21:32:52 +0100 Subject: [PATCH] Add postgresql to perform databases tests --- .gitea/workflows/test.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index 91ff768..e72a7ff 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -16,8 +16,7 @@ jobs: strategy: matrix: java: [ '17' ] - # and run on both Linux and Windows - os: [ubuntu-latest, windows-2022] + os: [ ubuntu-latest ] runs-on: ${{ matrix.os }} steps: - name: checkout repository @@ -29,6 +28,13 @@ jobs: with: java-version: ${{ matrix.java }} 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 if: ${{ runner.os != 'Windows' }} run: chmod +x ./gradlew