-
- Downloads
Add code coverage (!57)
<!-- ICON --------------------------------------------------------------- Copyright (C) 2004-2024, DWD, MPI-M, DKRZ, KIT, ETH, MeteoSwiss Contact information: icon-model.org See AUTHORS.TXT for a list of authors See LICENSES/ for license information SPDX-License-Identifier: CC0-1.0 --------------------------------------------------------------- --> ## What is the new feature Add code coverage. ## How is it implemented Directly add in pipeline. The total coverage percentage will be shown in the MRs. Reference: [coverage](https://docs.gitlab.com/ee/ci/testing/code_coverage.html), [coverage visualization](https://docs.gitlab.com/ee/ci/testing/test_coverage_visualization.html ) - [x] Some CMake/FortUTF files are picked up in the coverage. Find a way to remove them. - [x] Backtrace test fails in sphinx runner. - [x] Ragel generated files cannot be processed by gcovr. * Backtrace function and codes generated by Ragel are not supported in this version. ## Mandatory steps before review - [x] Gitlab CI passes _(Hint: use `make format` for linting)_ - [x] New feature is covered by additional unit tests - [x] Mark the merge request as ready by removing `Draft:` ## Mandatory steps before merge - [x] Reviewed by a maintainer - [ ] Incorporate review suggestions - [ ] Remember to edit the commit message and select the proper changelog category (feature/bugfix/other) **You are not supposed to merge this request by yourself, the maintainers of fortan-support take care of this action!** Approved-by:Jonas Jucker <jonas.jucker@env.ethz.ch> Merged-by:
Jonas Jucker <jonas.jucker@env.ethz.ch> Changelog: feature
Showing
- .gitlab-ci.yml 25 additions, 0 deletions.gitlab-ci.yml
- .gitlab/merge_request_templates/bugfix.md 1 addition, 0 deletions.gitlab/merge_request_templates/bugfix.md
- .gitlab/merge_request_templates/feature.md 1 addition, 0 deletions.gitlab/merge_request_templates/feature.md
- CMakeLists.txt 1 addition, 0 deletionsCMakeLists.txt
- test/c/CMakeLists.txt 4 additions, 1 deletiontest/c/CMakeLists.txt
Loading
Please register or sign in to comment