ci(dedal): implement coverage calculation for the library
As part of this implementation, the test jobs in the CI/CD pipeline have been split into two:
-
Unit tests – These complete in a few minutes (1-2 minutes), providing quick feedback to the developer.
-
Integration tests – These take significantly longer (20-30 minutes), ensuring a thorough validation of the system.
Parent artefact: https://tvb-projects.atlassian.net/browse/VT-87
Merge request reports
Activity
requested review from @adrianciu
assigned to @jmurugan
added 1 commit
- ecdff057 - - Corrected the job sequence within the test stage.
added Enhancement label
added 1 commit
- 15362bd9 - - Fixed the failing merge_coverage job by ensuring the required coverage...
mentioned in issue #1
added 1 commit
- c3166ff5 - - coverage combine cannot process Cobertura files. Therefore, merge the...
added 1 commit
- 92f210b5 - - Added a 10 minute timeout for testing if any specific command hangs on subprocess.run command!
added 1 commit
- ca24dca8 - - Added a 10 minute timeout for testing if any specific command hangs on subprocess.run command!
- Resolved by Adrian Ciu
@adrianciu For your information, I will revert the last two commits, which were added solely to pinpoint the commands causing the pipeline to hang!
added 1 commit
- e0262adc - - Commented the failing tests to verify the coverage calculation
1 1 stages: 2 2 - test 3 3 - build 4 - coverage_report 4 5 5 6 variables: 6 7 BUILD_ENV_DOCKER_IMAGE: docker-registry.ebrains.eu/esd/tmp:latest 7 8 9 default: 10 before_script: 11 - chmod +x dedal/utils/bootstrap.sh 12 - ./dedal/utils/bootstrap.sh 13 - pip install -e .[test] - Comment on lines +11 to +13
Hmm, I would have expected that we are "self-hosting" (i.e. use spack for managing the dependencies (except for the very basic base image things like wget/curl/patch/diff/make/base compiler))?
(Also below in the
unit_tests
stage.)Edited by Eric Müller @emuller This is not Spack bootstrapping; rather, it is the installation of pre-requisites required for the Spack. Since we are testing Spack-related functionalities as part of unit and integration tests, all necessary dependencies are installed beforehand.
You can review the actual script here: Bootstrap Script.
Does this address your concern?
Edited by Jithu Murugan@emuller Could you resolve this comment if the response adequately addresses your concern?
added 19 commits
-
84d30a75...e11cb8d4 - 18 commits from branch
VT-70-function-Migrate-Spack-env-setup-into-ESD-repo-with-buildcache
- 911e73ff - Merge branch...
-
84d30a75...e11cb8d4 - 18 commits from branch
added 6 commits
-
44c5713b...5e494c1a - 5 commits from branch
VT-70-function-Migrate-Spack-env-setup-into-ESD-repo-with-buildcache
- fdabd0e6 - Merge branch...
-
44c5713b...5e494c1a - 5 commits from branch
mentioned in commit 54483bec