diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 57460e747f58e96305330a19bfb9bfe70e613ada..003ac773149d5d93b4e25a9bcf62c3e3ffc3194f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 diff --git a/README.md b/README.md index dd68dcfa9fecfd80b6cf28a890a71a80c4bed9b1..df769feac7d5b03b0e852ac71d3c181428559095 100644 --- a/README.md +++ b/README.md @@ -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```. + +