Release v1.0.0 #67
This file contains hidden or 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: 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 }} |