Skip to content

Commit

Permalink
ci: enable codecov integration
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoEidinger committed Jul 21, 2023
1 parent 7424a1a commit 6ff8ef6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 113 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,10 @@ jobs:
- name: Build
run: swift build -v
- name: Run tests
run: swift test -v
run: swift test -v --enable-code-coverage
- name: Convert code coverage report for Codecov
run: xcrun llvm-cov export -format="lcov" .build/debug/TLDExtractPackageTests.xctest/Contents/MacOS/TLDExtractPackageTests -instr-profile .build/debug/codecov/default.profdata > info.lcov
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
1 change: 0 additions & 1 deletion .swift-version

This file was deleted.

20 changes: 0 additions & 20 deletions .swiftlint.yml

This file was deleted.

91 changes: 0 additions & 91 deletions .travis.yml

This file was deleted.

0 comments on commit 6ff8ef6

Please sign in to comment.