From 7326fb2a7ff8f4362452f607dc9288c9b11d6bed Mon Sep 17 00:00:00 2001 From: Quentin Legot Date: Thu, 23 Mar 2023 21:40:00 +0100 Subject: [PATCH] Update '.gitea/workflows/test.yml' --- .gitea/workflows/test.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index e72a7ff..a5b51f6 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -29,21 +29,21 @@ jobs: java-version: ${{ matrix.java }} distribution: 'oracle' - name: setup psql - uses: https://github.com/harmon758/postgresql-action@v1 + uses: https://github.com/ikalnytskyi/action-setup-postgres@v4 with: - postgresql version: '15' - postgresql db: postgres - postgresql user: postgres - postgresql password: 'root' + port: 5432 + database: postgres + username: postgres + password: 'root' - name: make gradle wrapper executable if: ${{ runner.os != 'Windows' }} run: chmod +x ./gradlew - name: build run: ./gradlew build --no-daemon - - name: test - run: ./gradlew test --no-daemon + #- name: test + # run: ./gradlew test --no-daemon deploy: - runs-on: ${{ ubuntu-latest }} + runs-on: ubuntu-latest if: gitea.ref == 'refs/heads/master' steps: - name: deploy