Skip to content

Commit

Permalink
Fix full-ci Clang Tidy (#182)
Browse files Browse the repository at this point in the history
* Fix full-ci Clang Tidy

Signed-off-by: Damien Jeandemange <[email protected]>

* Fix README badge

Signed-off-by: Damien Jeandemange <[email protected]>

---------

Signed-off-by: Damien Jeandemange <[email protected]>
Co-authored-by: Nicolas Rol <[email protected]>
  • Loading branch information
jeandemanged and rolnico authored Nov 7, 2024
1 parent 21929f8 commit c366aeb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/full-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,8 @@ jobs:
run: |
REPORT_NAME="clang_tidy_report_all.txt"
REPORT_PATH="$PWD/${REPORT_NAME}"
echo "report_name=$REPORT_NAME" >> "$GITHUB_OUTPUT"
echo "report_path=$REPORT_PATH" >> "$GITHUB_OUTPUT"
export METRIX_CPP_SOURCES=$(find metrix-simulator/log/ metrix-simulator/src/ -type f | grep -E ".*(metrix-simulator/src|metrix-simulator/log).*\.(cpp|hpp)$")
clang-tidy $METRIX_CPP_SOURCES -p $GITHUB_WORKSPACE/metrix-simulator/build > $REPORT_NAME || true
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# powsybl-metrix

[![Actions Status](https://github.com/powsybl/powsybl-metrix/workflows/CI/badge.svg)](https://github.com/powsybl/powsybl-metrix/actions)
[![Actions Status](https://github.com/powsybl/powsybl-metrix/workflows/Full%20CI/badge.svg)](https://github.com/powsybl/powsybl-metrix/actions)
[![Coverage Status](https://sonarcloud.io/api/project_badges/measure?project=com.powsybl%3Apowsybl-metrix&metric=coverage)](https://sonarcloud.io/component_measures?id=com.powsybl%3Apowsybl-metrix&metric=coverage)
[![Quality Gate](https://sonarcloud.io/api/project_badges/measure?project=com.powsybl%3Apowsybl-metrix&metric=alert_status)](https://sonarcloud.io/dashboard?id=com.powsybl%3Apowsybl-metrix)
[![MPL-2.0 License](https://img.shields.io/badge/license-MPL_2.0-blue.svg)](https://www.mozilla.org/en-US/MPL/2.0/)
Expand All @@ -24,7 +24,6 @@ MetrixTool calls *metrix simulator* as an external program. This program has its

The following status are produced by the reduced CI coverage tests

[![Actions Status](https://github.com/powsybl/powsybl-metrix/workflows/CI-cpp/badge.svg)](https://github.com/powsybl/powsybl-metrix/actions)
[![Coverage Status](https://sonarcloud.io/api/project_badges/measure?project=com.powsybl%3Ametrix-simulator&metric=coverage)](https://sonarcloud.io/component_measures?id=com.powsybl%3Ametrix-simulator&metric=coverage)
[![Quality Gate](https://sonarcloud.io/api/project_badges/measure?project=com.powsybl%3Ametrix-simulator&metric=alert_status)](https://sonarcloud.io/dashboard?id=com.powsybl%3Ametrix-simulator)

Expand Down

0 comments on commit c366aeb

Please sign in to comment.