Following changes have been incorporated:
- SpackOperation.py: The handle_result and trust_gpg_key methods were specifically updated with tests and docstrings. Also modified the add_mirror method as per the changes. - SpackOperationUseCache.py: Similar to SpackOperation.py, this file also got enhanced tests and docstrings, specifically for the setup_spack_env method. The focus is on setting up the environment for a user spack cache setup along with testing of the caching behavior and improving documentation. - BuildCacheManager.py: This file saw improvements in its test suite and the addition of docstrings. The tests likely cover various cache operations, and the docstrings explain the purpose and usage of the cache management methods. The get_public_key_from_cache, download, _log_warning_if_needed, and other methods were updated with tests and docstrings. - .gitlab-ci.yml: Changes likely include adding or modifying stages for running the new pytest tests and generating coverage reports. - pyproject.toml: ...
parent
ca4fdafb
No related branches found
No related tags found
Showing
- .gitlab-ci.yml 1 addition, 1 deletion.gitlab-ci.yml
- MANIFEST.ini 3 additions, 0 deletionsMANIFEST.ini
- esd/build_cache/BuildCacheManager.py 48 additions, 3 deletionsesd/build_cache/BuildCacheManager.py
- esd/commands/__init__.py 8 additions, 0 deletionsesd/commands/__init__.py
- esd/commands/bash_command_executor.py 93 additions, 0 deletionsesd/commands/bash_command_executor.py
- esd/commands/command.py 29 additions, 0 deletionsesd/commands/command.py
- esd/commands/command_enum.py 37 additions, 0 deletionsesd/commands/command_enum.py
- esd/commands/command_registry.py 59 additions, 0 deletionsesd/commands/command_registry.py
- esd/commands/command_runner.py 150 additions, 0 deletionsesd/commands/command_runner.py
- esd/commands/command_sequence.py 47 additions, 0 deletionsesd/commands/command_sequence.py
- esd/commands/command_sequence_builder.py 71 additions, 0 deletionsesd/commands/command_sequence_builder.py
- esd/commands/command_sequence_factory.py 45 additions, 0 deletionsesd/commands/command_sequence_factory.py
- esd/commands/generic_shell_command.py 46 additions, 0 deletionsesd/commands/generic_shell_command.py
- esd/commands/preconfigured_command_enum.py 28 additions, 0 deletionsesd/commands/preconfigured_command_enum.py
- esd/commands/shell_command_factory.py 33 additions, 0 deletionsesd/commands/shell_command_factory.py
- esd/commands/spack_command_sequence_factory.py 211 additions, 0 deletionsesd/commands/spack_command_sequence_factory.py
- esd/configuration/SpackConfig.py 1 addition, 4 deletionsesd/configuration/SpackConfig.py
- esd/spack_factory/SpackOperation.py 107 additions, 27 deletionsesd/spack_factory/SpackOperation.py
- esd/spack_factory/SpackOperationUseCache.py 27 additions, 2 deletionsesd/spack_factory/SpackOperationUseCache.py
- esd/tests/unit_tests/test_bash_command_executor.py 232 additions, 0 deletionsesd/tests/unit_tests/test_bash_command_executor.py
Please register or sign in to comment