Add CI workflows and improve test configuration#55
Merged
Conversation
Introduces GitHub Actions workflows for build and test automation, including Docker image building, Trivy scanning, and code coverage reporting. Updates pom.xml to add test dependencies and plugins for Jacoco and Coveralls. Refactors and modernizes test classes to use Mockito and JUnit 5 where appropriate, adds missing @MockBean stubs to prevent context failures, and disables or ignores tests that depend on unavailable services.
Changed the ECR_REPOSITORY environment variable from 'crdc-ctdc-backend' to 'crdc-popsci-backend' in the GitHub Actions build workflow.
Deleted the build.yml and test.yml workflow files from .github/workflows/workflows. This removes automated build and test processes from the repository.
Explicit version tags were removed from most dependencies to allow version management via dependency management or parent POM. Updated org.json to version 20240303 and jacoco-maven-plugin to 0.8.12.
This reverts commit 981b6b8.
Included a Coveralls badge at the top of the README to display test coverage status for the 2.0.0 branch.
Nahomtes
approved these changes
Dec 31, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Introduces GitHub Actions workflows for build and test automation, including Docker image building, Trivy scanning, and code coverage reporting. Updates pom.xml to add test dependencies and plugins for Jacoco and Coveralls. Refactors and modernizes test classes to use Mockito and JUnit 5 where appropriate, adds missing @MockBean stubs to prevent context failures, and disables or ignores tests that depend on unavailable services.