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 }} java-version: ${{ matrix.java }}
distribution: 'oracle' distribution: 'oracle'
- name: setup psql - name: setup psql
uses: https://github.com/harmon758/postgresql-action@v1 uses: https://github.com/ikalnytskyi/action-setup-postgres@v4
with: with:
postgresql version: '15' port: 5432
postgresql db: postgres database: postgres
postgresql user: postgres username: postgres
postgresql password: 'root' 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
- name: build - name: build
run: ./gradlew build --no-daemon run: ./gradlew build --no-daemon
- name: test #- name: test
run: ./gradlew test --no-daemon # run: ./gradlew test --no-daemon
deploy: deploy:
runs-on: ${{ ubuntu-latest }} runs-on: ubuntu-latest
if: gitea.ref == 'refs/heads/master' if: gitea.ref == 'refs/heads/master'
steps: steps:
- name: deploy - name: deploy