diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml
index abe98af..8413531 100644
--- a/.github/workflows/build-test.yml
+++ b/.github/workflows/build-test.yml
@@ -73,6 +73,10 @@ jobs:
TEST_GROUPS: ${{ matrix.runConfig.testGroups }}
JDBC_VERSION: ${{ matrix.runConfig.jdbcVersion }}
run: ci\\test_windows.bat
+ - uses: codecov/codecov-action@v4
+ with:
+ fail_ci_if_error: true
+ token: ${{ secrets.CODECOV_TOKEN }}
test-mac:
needs: build
@@ -113,6 +117,10 @@ jobs:
TEST_GROUPS: ${{ matrix.runConfig.testGroups }}
JDBC_VERSION: ${{ matrix.runConfig.jdbcVersion }}
run: bash ./ci/test.sh
+ - uses: codecov/codecov-action@v4
+ with:
+ fail_ci_if_error: true
+ token: ${{ secrets.CODECOV_TOKEN }}
test-linux:
needs: build
@@ -150,3 +158,7 @@ jobs:
TEST_GROUPS: ${{ matrix.runConfig.testGroups }}
JDBC_VERSION: ${{ matrix.runConfig.jdbcVersion }}
run: ./ci/test.sh
+ - uses: codecov/codecov-action@v4
+ with:
+ fail_ci_if_error: true
+ token: ${{ secrets.CODECOV_TOKEN }}
diff --git a/README.md b/README.md
index 31f4bb6..35ea536 100644
--- a/README.md
+++ b/README.md
@@ -3,6 +3,8 @@
[](https://github.com/snowflakedb/snowflake-hibernate/actions/workflows/build-test.yml?query=branch%3Amain)
[](http://www.apache.org/licenses/LICENSE-2.0.txt)
+[![codecov](https://codecov.io/gh/snowflakedb/snowflake-hibernate/graph/badge.svg?token=J8TOYZ6SZK)](https://codecov.io/gh/snowflakedb/snowflake-hibernate)
+
## Brief
This project is an SQL dialect definition for Hibernate Core enabling Java developers to reuse ORM features with Snowflake database.
diff --git a/pom.xml b/pom.xml
index bc9deab..1133def 100644
--- a/pom.xml
+++ b/pom.xml
@@ -37,6 +37,7 @@
2.24
6.4.4.Final
+ 0.8.12
5.10.2
5.10.2
2.23.0
@@ -149,7 +150,7 @@
${maven-surefire-plugin.version}
${testGroups}
- --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-exports=java.base/sun.nio.ch=ALL-UNNAMED --add-exports=jdk.unsupported/sun.misc=ALL-UNNAMED
+ ${argLine} --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-exports=java.base/sun.nio.ch=ALL-UNNAMED --add-exports=jdk.unsupported/sun.misc=ALL-UNNAMED
@@ -158,7 +159,7 @@
${maven-failsafe-plugin.version}
${testGroups}
- --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-exports=java.base/sun.nio.ch=ALL-UNNAMED --add-exports=jdk.unsupported/sun.misc=ALL-UNNAMED
+ ${argLine} --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-exports=java.base/sun.nio.ch=ALL-UNNAMED --add-exports=jdk.unsupported/sun.misc=ALL-UNNAMED
@@ -221,6 +222,33 @@
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco-maven-plugin.version}
+
+
+ pre-test
+
+ prepare-agent
+
+
+ target/jacoco-tests.exec
+
+
+
+ post-test
+
+ report
+
+ test
+
+ target/jacoco-tests.exec
+ target/jacoco-tests
+
+
+
+