Skip to content

Merge pull request #11 from diegocamara/update-project-dependencies #50

Merge pull request #11 from diegocamara/update-project-dependencies

Merge pull request #11 from diegocamara/update-project-dependencies #50

Workflow file for this run

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