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