Update '.gitea/workflows/test.yml'
This commit is contained in:
parent
e16843c3e4
commit
7326fb2a7f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user