Skip to content

Commit

Permalink
Rm coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleVaughn committed Jul 1, 2024
1 parent ef24a06 commit 120ba0b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 32 deletions.
32 changes: 1 addition & 31 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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 \
Expand All @@ -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
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

UM<sup>2</sup> is a library that aims to enable Method of Characteristics neutron transport
calculations on unstructured polygon meshes and CAD models.
Expand Down

0 comments on commit 120ba0b

Please sign in to comment.