From 120ba0b709ad5ca90c78097fd373c298935f7cf9 Mon Sep 17 00:00:00 2001 From: Kyle Vaughn Date: Mon, 1 Jul 2024 17:06:41 -0400 Subject: [PATCH] Rm coverage --- .github/workflows/ci.yml | 32 +------------------------------- README.md | 1 - 2 files changed, 1 insertion(+), 32 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a90e4399..0592f0ba 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,11 +9,7 @@ on: - main env: - HDF5_ROOT: /usr OMP_NUM_THREADS: 2 - ENABLE_COVERAGE: OFF - COVERALLS_PARALLEL: true - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} jobs: main: @@ -59,10 +55,6 @@ jobs: if: matrix.gmsh == 'ON' run: sudo apt install -y libgmsh-dev - - name: Configure with coverage - if: matrix.build_type == 'Debug' && matrix.compiler == 'gcc' && matrix.asserts == 'ON' && matrix.gmsh == 'ON' - run: echo "ENABLE_COVERAGE=ON" >> $GITHUB_ENV - - name: Configure run: | cmake -S . -B build \ @@ -82,26 +74,4 @@ jobs: run: make -C build - name: Run tests - run: make -C build test - - - name: coverage - if: matrix.build_type == 'Debug' && matrix.compiler == 'gcc' && matrix.asserts == 'ON' && matrix.gmsh == 'ON' - run: | - sudo apt install -y python3 pipx - pipx ensurepath - pipx install cpp-coveralls - pipx install coveralls - pipx ensurepath - source ~/.bashrc - cpp-coveralls -i include -i src -e /usr --gcov /usr/bin/gcov --dump cpp_cov.json - coveralls --merge=cpp_cov.json --service=github - - finish: - needs: main - runs-on: ubuntu-24.04 - steps: - - name: Coveralls finished - uses: coverallsapp/github-action@master - with: - github-token: ${{ secrets.github_token }} - parallel-finished: true + run: CTEST_OUTPUT_ON_FAILURE=ON make -C build test diff --git a/README.md b/README.md index 346ec00f..add499bd 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,6 @@ [![License](https://img.shields.io/badge/license-MIT-green)](https://univeristy-of-michigan-unstructured-mesh-code.readthedocs.io/en/main/license.html) [![GitHub Actions build status (Linux)](https://github.com/KyleVaughn/UM2/workflows/CI/badge.svg?branch=main)](https://github.com/KyleVaughn/UM2/actions?query=workflow%3ACI) -[![Coverage Status](https://coveralls.io/repos/github/KyleVaughn/UM2/badge.svg)](https://coveralls.io/github/KyleVaughn/UM2) UM2 is a library that aims to enable Method of Characteristics neutron transport calculations on unstructured polygon meshes and CAD models.