Skip to content
Snippets Groups Projects
Commit 15362bd9 authored by Jithu Murugan's avatar Jithu Murugan
Browse files

- Fixed the failing merge_coverage job by ensuring the required coverage...

- Fixed the failing merge_coverage job by ensuring the required coverage package is installed. Moved the common before_script to the default section.
- Added the test coverage badge to README.md.
parent 5957334c
No related branches found
No related tags found
2 merge requests!6ci(dedal): implement coverage calculation for the library,!4feat(spack_operation): implement setup_spack_env functionality
Pipeline #59671 failed with stages
in 28 minutes and 51 seconds
......@@ -6,6 +6,11 @@ stages:
variables:
BUILD_ENV_DOCKER_IMAGE: docker-registry.ebrains.eu/esd/tmp:latest
default:
before_script:
- chmod +x dedal/utils/bootstrap.sh
- ./dedal/utils/bootstrap.sh
- pip install -e .[test]
build-wheel:
stage: build
......@@ -27,10 +32,6 @@ unit_tests:
tags:
- docker-runner
image: ubuntu:22.04
before_script:
- chmod +x dedal/utils/bootstrap.sh
- ./dedal/utils/bootstrap.sh
- pip install -e .[test]
script:
- coverage run -m pytest -s --tb=short --junitxml=test-results.xml ./dedal/tests/unit_tests
- coverage xml -o coverage_unit.xml
......@@ -48,10 +49,6 @@ integration_tests:
tags:
- docker-runner
image: ubuntu:22.04
before_script:
- chmod +x dedal/utils/bootstrap.sh
- ./dedal/utils/bootstrap.sh
- pip install -e .[test]
script:
- coverage run -m pytest -s --tb=short --junitxml=test-results.xml ./dedal/tests/integration_tests
- coverage xml -o coverage_integration.xml
......@@ -70,8 +67,6 @@ merge_coverage:
tags:
- docker-runner
image: ubuntu:22.04
before_script:
- pip install coverage
script:
- coverage combine coverage_unit.xml coverage_integration.xml
- coverage report
......
......@@ -51,3 +51,5 @@ The lowest ```spack version``` compatible with this library is ```v0.23.0```.
For both concretization and binary caches, the cache version can be changed via the attributes ```cache_version_concretize``` and ```cache_version_build```.
The default values are ```v1```.
![Coverage Badge](https://gitlab.ebrains.eu/ri/tech-hub/platform/esd/yashchiki/badges/koutakia/coverage.svg)
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment