From 18084995b2d2dcf6c54dc7533836ad11df878cc4 Mon Sep 17 00:00:00 2001 From: Athou Date: Sun, 20 Jul 2025 09:58:01 +0200 Subject: [PATCH] fix integration tests code coverage not taken into account --- commafeed-server/pom.xml | 8 ++++++-- .../src/main/resources/application.properties | 4 ++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/commafeed-server/pom.xml b/commafeed-server/pom.xml index 0c7b0f48..887ff3f6 100644 --- a/commafeed-server/pom.xml +++ b/commafeed-server/pom.xml @@ -240,9 +240,8 @@ integration-tests-agent - pre-integration-test - prepare-agent + prepare-agent-integration ${project.build.directory}/jacoco-output/jacoco-integration-tests.exec @@ -559,6 +558,11 @@ quarkus-junit5-mockito test + + io.quarkus + quarkus-jacoco + test + io.quarkiverse.playwright quarkus-playwright diff --git a/commafeed-server/src/main/resources/application.properties b/commafeed-server/src/main/resources/application.properties index e28b20d5..fd2580b0 100644 --- a/commafeed-server/src/main/resources/application.properties +++ b/commafeed-server/src/main/resources/application.properties @@ -41,6 +41,10 @@ quarkus.native.add-all-charsets=true # fix for https://github.com/Athou/commafeed/issues/1795 quarkus.native.additional-build-args=-H:PageSize=65536 +# jacoco +## we generate the report ourselves by aggregating the unit tests and integration tests jacoco.exec files +quarkus.jacoco.report=false + # dev profile overrides %dev.quarkus.http.port=8083