Update project dependencies #46
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Java CI with Maven | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
services: | |
postgres: | |
image: postgres:14.3-alpine | |
ports: | |
- 5432:5432 | |
env: | |
POSTGRES_PASSWORD: 123456 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '21' | |
distribution: 'temurin' | |
cache: maven | |
- name: Set up node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- name: Build with Maven | |
run: mvn -B package --file pom.xml | |
- name: Run integration tests | |
run: | | |
nohup java -jar target/quarkus-app/quarkus-run.jar & sleep 10s | |
./collections/run-api-tests.sh | |
shell: bash |