Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions .github/workflows/verify-local-development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,21 @@ jobs:
run: sudo ln -s /usr/libexec/docker/cli-plugins/docker-compose /usr/local/bin/docker-compose

- name: Start application and verify actuator health
run: |
./mvnw spring-boot:run -DskipTests --no-transfer-progress &
timeout 180 .github/workflows/health-check.sh 8080
run: ./mvnw spring-boot:run -DskipTests --no-transfer-progress
env:
# Surface what Spring Boot's Docker Compose support is doing (which service/port
# it probes, the compose commands it runs, and readiness-check progress).
LOGGING_LEVEL_ORG_SPRINGFRAMEWORK_BOOT_DOCKER_COMPOSE: DEBUG
# Don't run `docker compose down` when startup fails, so the containers
# (and their logs) survive for the "Stop infrastructure" step below.
SPRING_DOCKER_COMPOSE_LIFECYCLE_MANAGEMENT: start_only
# / & timeout 180 .github/workflows/health-check.sh 8080

- name: Stop infrastructure
if: always()
run: |
docker compose logs
docker compose ps -a
docker compose logs --no-color
docker compose down

verify-spring-boot-test-run:
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,5 @@ src/docs/architecture/*.jpg

.allure
allure-results

.diffblue/
28 changes: 28 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,34 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.pitest</groupId>
<artifactId>pitest-maven</artifactId>
<version>1.19.3</version>
<configuration>
<targetClasses>
<param>de.rieckpil.courses.*</param>
</targetClasses>
<targetTests>
<param>de.rieckpil.courses.*</param>
</targetTests>
<excludedTestClasses>
<param>*IT</param>
<param>*WT</param>
</excludedTestClasses>
<outputFormats>
<param>XML</param>
<param>HTML</param>
</outputFormats>
</configuration>
<dependencies>
<dependency>
<groupId>org.pitest</groupId>
<artifactId>pitest-junit5-plugin</artifactId>
<version>1.2.3</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
Expand Down
Loading