Skip to content

Commit

Permalink
Merge pull request #70 from /issues/68
Browse files Browse the repository at this point in the history
  • Loading branch information
kkebo authored May 9, 2024
2 parents 254d99e + 2483b3b commit fc03ea9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions .octocov.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
coverage:
paths:
- coverage_report.lcov
exclude:
- '**/Sources/TokenizerMacros/**'
- '**/Tests/**'
badge:
path: coverage.svg
push:
Expand Down

0 comments on commit fc03ea9

Please sign in to comment.