diff --git a/.gitea/workflows/pipeline.yaml b/.gitea/workflows/pipeline.yaml index adf3daa..8711585 100644 --- a/.gitea/workflows/pipeline.yaml +++ b/.gitea/workflows/pipeline.yaml @@ -121,21 +121,6 @@ jobs: env: RUNNER_TOOL_CACHE: /toolcache - services: - postgres: - image: postgres:16-alpine - env: - POSTGRES_DB: legalconsenthub_test - POSTGRES_USER: test - POSTGRES_PASSWORD: test - ports: - - 5433:5432 - options: >- - --health-cmd "pg_isready -U test" - --health-interval 10s - --health-timeout 5s - --health-retries 5 - defaults: run: working-directory: ./legalconsenthub-backend @@ -173,10 +158,7 @@ jobs: - name: Run tests run: ./gradlew test env: - SPRING_DATASOURCE_URL: jdbc:postgresql://postgres:5433/legalconsenthub_test - SPRING_DATASOURCE_USERNAME: test - SPRING_DATASOURCE_PASSWORD: test - SPRING_JPA_HIBERNATE_DDL_AUTO: create-drop + SPRING_PROFILES_ACTIVE: testcontainers - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 diff --git a/legalconsenthub-backend/README.md b/legalconsenthub-backend/README.md index e230f75..d80375f 100644 --- a/legalconsenthub-backend/README.md +++ b/legalconsenthub-backend/README.md @@ -2,4 +2,4 @@ ## Pipeline Triggering -Trigger count: 8 +Trigger count: 9 diff --git a/legalconsenthub/README.md b/legalconsenthub/README.md index 8c9e2b7..5b2c106 100644 --- a/legalconsenthub/README.md +++ b/legalconsenthub/README.md @@ -2,4 +2,4 @@ ## Pipeline Triggering -Trigger count: 8 +Trigger count: 9