build: split integration test and run in parallel#111
Conversation
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||
There was a problem hiding this comment.
Pull Request Overview
This PR splits integration tests from the main build process to allow parallel execution and improve build efficiency. Key changes include:
- Adding caching for Gradle in the build workflow.
- Modifying the Gradle command in the main build job to run only unit tests with sonar analysis.
- Introducing a new integration-test job that executes integration tests separately.
Comments suppressed due to low confidence (2)
.github/workflows/build-and-test.yml:75
- Ensure that the separation between unit tests and integration tests is fully reflected in your Gradle configuration to avoid duplicate test execution or gaps in test coverage.
integration-test:
.github/workflows/build-and-test.yml:43
- The removal of '-Ddb=all' from the unit test command may lead to unintended test configuration differences if the flag was previously used to set up the test database environment. Verify that this change is intentional and that the new integration-test job correctly manages the required environment configuration.
run: ./gradlew test sonar
ae5592b to
a6844e3
Compare
CI Feedback 🧐(Feedback updated until commit bef6dec)A test triggered by this PR failed. Here is an AI-generated analysis of the failure:
|
Test Results 34 files - 9 34 suites - 9 18s ⏱️ -16s Results for commit 73b9ace. ± Comparison against base commit 1e90f8a. This pull request removes 80 and adds 41 tests. Note that renamed tests count towards both.♻️ This comment has been updated with latest results. |
Unit Tests 34 files 34 suites 16s ⏱️ Results for commit 6faf6e0. ♻️ This comment has been updated with latest results. |
Code Coverage
|
d31bbe1 to
9cf592b
Compare
POSTGRESQL Integration Tests 9 files 9 suites 16s ⏱️ Results for commit 6faf6e0. ♻️ This comment has been updated with latest results. |
SQLITE Integration Tests 9 files 9 suites 24s ⏱️ Results for commit 6faf6e0. ♻️ This comment has been updated with latest results. |
MSSQLSERVER Integration Tests 9 files 9 suites 22s ⏱️ Results for commit 6faf6e0. ♻️ This comment has been updated with latest results. |
MYSQL Integration Tests 9 files 9 suites 22s ⏱️ Results for commit 6faf6e0. ♻️ This comment has been updated with latest results. |
ORACLE Integration Tests 9 files 9 suites 23s ⏱️ Results for commit 6faf6e0. ♻️ This comment has been updated with latest results. |
9cf592b to
2389674
Compare
|
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation. |
ab29c29 to
76996ba
Compare
|



No description provided.