diff --git a/code_management/index.md b/code_management/index.md index f79347e3..d8fb28f8 100644 --- a/code_management/index.md +++ b/code_management/index.md @@ -56,11 +56,13 @@ These tests are performed to ensure that all the components and modules of a sof Find an [example for system tests](https://github.com/C2SM/spack-c2sm/blob/main/test/system_test.py) in our spack-c2sm repository. It can be executed by running `python3 test/system_test.py` (after creating and activating the respective environment). ### 4. Tolerance tests These tests are used for the development of ICON, specifically when code is ported from CPU to GPU. The results when running on CPU and GPU are not bit identical, therefore a tolerance range is accepted when comparing a test case to the CPU reference. The accepted tolerance range is created by running an ensemble of the same test case with different perturbations. MeteoSwiss has development [probtest](https://github.com/MeteoSwiss/probtest) for handling everything related to tolerance tests with ICON. If you have a DKRZ account and are working with ICON-NWP, you can also check out the manual for [Generating tolerances for non-standard tests](https://gitlab.dkrz.de/icon/wiki/-/wikis/GPU-development/Validating-with-probtest-without-buildbot-references-(Generating-tolerances-for-non-standard-tests)). -### 7. GitHooks & GitHub actions -Link to Git course. Example for GitHub actions (Micha) +### 5. Git Hooks & GitHub Actions +Git Hooks are local scripts in Git that make sure things get done right when you work on your code. GitHub Actions, on the other hand, are integrated with GitHub and allow you to automate code management workflows. They can be run automatically on GitHub whenever something is committed. +Check out our Git course for examples of [Custom Git Hooks](https://github.com/C2SM/git-course/blob/main/advanced/Exercise_7_git-hooks.md) hooks, and read GitHub's [documentation on GitHub Actions](https://docs.github.com/en/actions). -### VS Code + +## VS Code - [Download VS Code](https://code.visualstudio.com/download) - Open a Git folder with a Markdown file and open the split view (right corner) - Open Terminal (Terminal button at top)