From 2483b3bac213267a9f108f20d37bb3d4d6f83dd6 Mon Sep 17 00:00:00 2001 From: Kenta Kubo <601636+kkebo@users.noreply.github.com> Date: Thu, 9 May 2024 02:12:16 +0900 Subject: [PATCH] ci: fix octocov parse error (#68) fixes #68 --- .github/workflows/swift.yml | 3 ++- .octocov.yml | 3 --- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 91dd50d..069cd4f 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -21,7 +21,8 @@ jobs: - run: swift --version - run: swift build - run: swift test --disable-xctest --enable-code-coverage --no-parallel - - run: llvm-cov export -format="lcov" .build/debug/zyphyPackageTests.swift-testing -instr-profile .build/debug/codecov/default.profdata -ignore-filename-regex=".build|Tests" > coverage_report.lcov + # FIXME: `grep -v 184467440737095` is a workaround for octocov parse error + - run: llvm-cov export --format=lcov .build/debug/zyphyPackageTests.swift-testing --instr-profile .build/debug/codecov/default.profdata --ignore-filename-regex=".build|Tests|TokenizerMacros" | grep -v 184467440737095 > coverage_report.lcov - uses: k1LoW/octocov-action@v1 lint: runs-on: ubuntu-latest diff --git a/.octocov.yml b/.octocov.yml index e698c4d..679c916 100644 --- a/.octocov.yml +++ b/.octocov.yml @@ -1,9 +1,6 @@ coverage: paths: - coverage_report.lcov - exclude: - - '**/Sources/TokenizerMacros/**' - - '**/Tests/**' badge: path: coverage.svg push: