Update '.gitea/workflows/test.yml'
Some checks failed
build (17, ubuntu-latest)
deploy

This commit is contained in:
Quentin Legot 2023-03-23 21:40:00 +01:00
parent e16843c3e4
commit 7326fb2a7f

View File

@ -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