Skip to content

Commit 329ed9d

Browse files
authored
[#258] CodeCov Test
1 parent d4843c5 commit 329ed9d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/mc_dc_coverage.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,19 +41,14 @@ jobs:
4141
cd /tmp/libgcrypt-1.11.0 && ./configure && make install
4242
ldconfig
4343
44-
- name: Upload to Code Cov
45-
uses: codecov/codecov-action@v5
46-
env:
47-
CODECOV_TOKEN: 71699f25-12a3-44a4-8a83-be777b9e577a
48-
4944
- name: Fix Detached HEAD State
5045
run: git checkout -B ${GITHUB_REF##*/}
5146

5247
- name: Build with Coverage Flags
5348
run: |
5449
export CFLAGS="-fprofile-arcs -ftest-coverage -g"
5550
bash ${GITHUB_WORKSPACE}/support/scripts/build_internal.sh
56-
51+
5752
- name: Generate Coverage Report and Badges
5853
run: |
5954
mkdir -p doc/coverage
@@ -93,6 +88,11 @@ jobs:
9388
curl -o doc/coverage/line-coverage-badge.svg "https://img.shields.io/badge/line%20coverage-${LINE_COVERAGE_PERCENT}%25-${LINE_COLOR}"
9489
curl -o doc/coverage/branch-coverage-badge.svg "https://img.shields.io/badge/branch%20coverage-${BRANCH_COVERAGE_PERCENT}%25-${BRANCH_COLOR}"
9590
91+
- name: Upload to Code Cov
92+
uses: codecov/codecov-action@v5
93+
env:
94+
CODECOV_TOKEN: 71699f25-12a3-44a4-8a83-be777b9e577a
95+
9696
- name: Commit Coverage Badges
9797
run: |
9898
git config user.name "github-actions"

0 commit comments

Comments
 (0)