Update from hummingbird-project-template 6e3541131c4cafc5b206fb1fce39e9f98bb6079a (#43)
Co-authored-by: adam-fowler <adam-fowler@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
cde358e364
commit
6bfffe2098
19
.github/workflows/ci.yml
vendored
19
.github/workflows/ci.yml
vendored
@@ -11,6 +11,25 @@ on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
macOS:
|
||||
runs-on: macos-14
|
||||
timeout-minutes: 15
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: SPM tests
|
||||
run: swift test --enable-code-coverage
|
||||
- name: Convert coverage files
|
||||
run: |
|
||||
xcrun llvm-cov export -format "lcov" \
|
||||
.build/debug/swift-mustachePackageTests.xctest/Contents/MacOs/swift-mustachePackageTests \
|
||||
-ignore-filename-regex="\/Tests\/" \
|
||||
-ignore-filename-regex="\/Benchmarks\/" \
|
||||
-instr-profile=.build/debug/codecov/default.profdata > info.lcov
|
||||
- name: Upload to codecov.io
|
||||
uses: codecov/codecov-action@v4
|
||||
with:
|
||||
file: info.lcov
|
||||
linux:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 15
|
||||
|
||||
Reference in New Issue
Block a user