Skip to content

Commit

Permalink
test-gcov
Browse files Browse the repository at this point in the history
Signed-off-by: Raghu Raja <raghunch@amazon.com>
  • Loading branch information
rajachan committed Apr 20, 2024
1 parent 2c191c9 commit 4cc7593
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/distcheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,13 @@ jobs:
./configure --with-libfabric=$PWD/libfabric/install \
--with-cuda=/usr/local/cuda/ \
--enable-platform-aws \
CFLAGS="-fprofile-arcs -ftest-coverage" \
CC=${{ matrix.cc }}
else
./configure --with-libfabric=$PWD/libfabric/install \
--enable-neuron \
--enable-platform-aws \
CFLAGS="-fprofile-arcs -ftest-coverage" \
CC=${{ matrix.cc }}
fi
make -j $(nproc)
Expand Down Expand Up @@ -119,3 +121,10 @@ jobs:
run: |
echo "::error title=Static Analyzers Failed::Analysed commit(s) caused static analysis warnings"
exit 0
- name: Generate a code coverage report
uses: threeal/gcovr-action@v1.0.0

- name: Generate a code coverage report
uses: threeal/gcovr-action@xml-out
with:
xml-out: coverage.xml

0 comments on commit 4cc7593

Please sign in to comment.