chore: update
Java CI with Maven / build-and-test (pull_request) Failing after 1m42s

This commit is contained in:
TakahashiNg
2026-04-13 02:16:46 +00:00
parent 388b418a73
commit b5d0e63f1b
3 changed files with 31 additions and 13 deletions
+2 -1
View File
@@ -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
View File
@@ -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/"
+24 -7
View File
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8" ?> <?xml version="1.0" encoding="UTF-8"?>
<project <project
xmlns="http://maven.apache.org/POM/4.0.0" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -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>