This commit is contained in:
@@ -6,7 +6,7 @@ on:
|
|||||||
- main
|
- main
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -36,6 +36,7 @@ jobs:
|
|||||||
- name: Build and Test all modules
|
- name: Build and Test all modules
|
||||||
run: |
|
run: |
|
||||||
./mvnw -B install \
|
./mvnw -B install \
|
||||||
|
-Dquarkus.native.builder-optimization-level=0 \
|
||||||
-Dquarkus.container-image.push=false \
|
-Dquarkus.container-image.push=false \
|
||||||
|
|
||||||
- name: Jacoco Report to PR
|
- name: Jacoco Report to PR
|
||||||
|
|||||||
+1
-1
@@ -13,7 +13,7 @@ plugins:
|
|||||||
./mvnw versions:set -DnewVersion=${nextRelease.version} &&
|
./mvnw versions:set -DnewVersion=${nextRelease.version} &&
|
||||||
sed -i "/-service:/ s|:[^:]*$|:${nextRelease.version}|" k8s.yaml &&
|
sed -i "/-service:/ s|:[^:]*$|:${nextRelease.version}|" k8s.yaml &&
|
||||||
if [ "${branch.name}" = "main" ]; then
|
if [ "${branch.name}" = "main" ]; then
|
||||||
./mvnw package -Dquarkus.container-image.tag=${nextRelease.version} -DskipTests
|
./mvnw package -B -Dquarkus.container-image.tag=${nextRelease.version} -DskipTests
|
||||||
fi
|
fi
|
||||||
- - "@saithodev/semantic-release-gitea"
|
- - "@saithodev/semantic-release-gitea"
|
||||||
- giteaUrl: "https://git.demonkernel.io.vn/"
|
- giteaUrl: "https://git.demonkernel.io.vn/"
|
||||||
|
|||||||
@@ -44,14 +44,31 @@
|
|||||||
<artifactId>maven-surefire-plugin</artifactId>
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
<configuration>
|
<configuration>
|
||||||
<systemPropertyVariables>
|
<systemPropertyVariables>
|
||||||
<quarkus.jacoco.data-file
|
<quarkus.jacoco.data-file>${maven.multiModuleProjectDirectory}/target/jacoco.exec</quarkus.jacoco.data-file>
|
||||||
>${maven.multiModuleProjectDirectory}/target/jacoco.exec</quarkus.jacoco.data-file>
|
<quarkus.jacoco.reuse-data-file>true</quarkus.jacoco.reuse-data-file>
|
||||||
<quarkus.jacoco.reuse-data-file
|
<quarkus.jacoco.report-location>${maven.multiModuleProjectDirectory}/target/coverage</quarkus.jacoco.report-location>
|
||||||
>true</quarkus.jacoco.reuse-data-file>
|
|
||||||
<quarkus.jacoco.report-location
|
|
||||||
>${maven.multiModuleProjectDirectory}/target/coverage</quarkus.jacoco.report-location>
|
|
||||||
</systemPropertyVariables>
|
</systemPropertyVariables>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>prepare-agent</id>
|
||||||
|
<goals>
|
||||||
|
<goal>prepare-agent</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
<execution>
|
||||||
|
<id>report</id>
|
||||||
|
<phase>test</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>report</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<formats>
|
||||||
|
<format>XML</format>
|
||||||
|
</formats>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|||||||
Reference in New Issue
Block a user