Skip to content

Commit

Permalink
Add badges for build status and code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardodebenedictis committed May 14, 2024
1 parent 5bf5b51 commit fc85306
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ jobs:
working-directory: ${{github.workspace}}/build
run: ctest -C ${{env.BUILD_TYPE}} --rerun-failed --output-on-failure -T Test -T Coverage -T MemCheck

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}

- name: Test without coverage and memory sanitizer
if: matrix.build_type == 'Release' || matrix.os != 'ubuntu-latest'
working-directory: ${{github.workspace}}/build
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# oRatio

![Build Status](https://github.com/ratioSolver/oRatio/actions/workflows/cmake.yml/badge.svg)
[![codecov](https://codecov.io/gh/ratioSolver/oRatio/branch/master/graph/badge.svg)](https://codecov.io/gh/ratioSolver/oRatio)

> Dum loquimur, fugerit invida aetas: carpe diem, quam minimum credula postero. (Orazio, Odi, I, 11, 7-8)
Expand Down
2 changes: 1 addition & 1 deletion extern/riddle
2 changes: 1 addition & 1 deletion extern/semitone

0 comments on commit fc85306

Please sign in to comment.