Skip to content

Commit

Permalink
Try to help codecov find C++ coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
benmwebb committed Jun 28, 2024
1 parent d1b8375 commit 5d29f3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
cmake .. -DIMP_DIR=${CONDA_PREFIX}/lib/cmake/IMP -DUSE_PYTHON2=${PY2} -DCMAKE_CXX_FLAGS="-fprofile-arcs -ftest-coverage"
make
./setup_environment.sh pytest --cov=.. --cov-branch --cov-report=xml -v ../test/test_*.py test/*/*.py
${GCC/gcc/gcov} $(find . -name "*.gcno")
- uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 5d29f3c

Please sign in to comment.