Skip to content

Release v1.0.0

Release v1.0.0 #67

name: CI - Integration Tests
on:
push:
branches:
- main
- develop
paths:
- 'backend/api-service/**'
- '.github/workflows/ci-integration-tests.yaml'
pull_request:
branches:
- main
paths:
- 'backend/api-service/**'
- '.github/workflows/ci-integration-tests.yaml'
workflow_dispatch:
jobs:
backend-testing:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./backend/
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Java 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name: Cache Maven dependencies
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('backend/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Run integration tests
run: mvn test -pl ./api-service -am -Dgroups=integration
env:
CI: true
JWT_SECRET: ${{ secrets.JWT_SECRET }}
ADMIN_EMAIL: "admin@admin.com"
ADMIN_USERNAME: "admin"
ADMIN_PASSWORD: "secure_password"
POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }}