From d69e25f218d43904f0e3d16a03453587c37d819a Mon Sep 17 00:00:00 2001 From: User Date: Tue, 10 Feb 2026 10:29:35 +0530 Subject: [PATCH 1/2] cov --- .../com/example/helloworld/HelloWorldApplicationTests.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/test/java/com/example/helloworld/HelloWorldApplicationTests.java b/src/test/java/com/example/helloworld/HelloWorldApplicationTests.java index 35bba04..411dee3 100644 --- a/src/test/java/com/example/helloworld/HelloWorldApplicationTests.java +++ b/src/test/java/com/example/helloworld/HelloWorldApplicationTests.java @@ -7,7 +7,6 @@ import static org.junit.jupiter.api.Assertions.assertNotNull; - @SpringBootTest class HelloWorldApplicationTests { @@ -20,4 +19,9 @@ void contextLoads() { assertNotNull(helloWorldController); } + @Test + void main() { + HelloWorldApplication.main(new String[] {}); + } + } From 403bb42e6166a267cc494d78805ff801c856d3b5 Mon Sep 17 00:00:00 2001 From: User Date: Tue, 10 Feb 2026 10:32:55 +0530 Subject: [PATCH 2/2] depth --- .github/workflows/java-test.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/java-test.yaml b/.github/workflows/java-test.yaml index 0d01861..2ae5bde 100644 --- a/.github/workflows/java-test.yaml +++ b/.github/workflows/java-test.yaml @@ -17,6 +17,8 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Set up JDK 17 uses: actions/setup-java@v4