Skip to content

Commit

Permalink
Remove coverage counter initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
fluidnumerics-joe committed Jun 13, 2024
1 parent 0056828 commit f35d4c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/linux-amdflang-cmake.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: rocm-setup
- name: Set up ROCm
run: |
sudo apt update -y
wget https://repo.radeon.com/amdgpu-install/6.1.1/ubuntu/jammy/amdgpu-install_6.1.60101-1_all.deb
Expand Down Expand Up @@ -74,14 +74,6 @@ jobs:
FC=${{ matrix.fcompiler }} CC=${{ matrix.ccompiler }} cmake -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} ../
make VERBOSE=1
- name: Initialize coverage counters
if: ${{ matrix.build_type == 'coverage' }}
run: |
sudo apt-get update -y && sudo apt-get install lcov
lcov --no-external \
--directory /home/runner/work/self \
--zerocounters
- name: Run ctests
run: |
cd build/test
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/linux-gnu-cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
run: |
sudo apt-get update -y && sudo apt-get install lcov
lcov --no-external \
--directory /home/runner/work/self \
--directory /home/runner/work/SELF\
--zerocounters
- name: Run ctests
Expand All @@ -122,7 +122,7 @@ jobs:
lcov --no-external \
--capture \
--directory /home/runner/work/self \
--directory /home/runner/work/SELF\
--exclude '*/test/*' \
--output-file /home/runner/work/lcov.info
Expand Down

0 comments on commit f35d4c5

Please sign in to comment.