From 9e2dad140b5cd7f9b58fc3dfbd9a6eb9f05b29ee Mon Sep 17 00:00:00 2001 From: anthonymakarewicz Date: Mon, 15 Jul 2024 15:11:03 +0200 Subject: [PATCH] full CI/CD --- .github/workflows/ci.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8ebc1ce..130399c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,3 +34,28 @@ jobs: run: | cd build ctest --output-on-failure + - name: Analyze code with clang-tidy + + - name: Analyze code with clang-tidy + run: | + cd build + make clang-tidy + + #- name: Check code formatting with clang-format + # run: | + # cd build + # make clang-format-check + + - name: Generate code coverage + run: | + cd build + make coverage + + - name: Upload code coverage results + if: always() + uses: actions/upload-artifact@v2 + with: + name: coverage-results + path: build/coverage-results + +