Add file header via swift format

This commit is contained in:
Adam Fowler
2021-04-08 17:30:53 +01:00
parent 883e1e3446
commit 1c51fcfe8c
26 changed files with 342 additions and 3 deletions

View File

@@ -14,6 +14,23 @@ on:
workflow_dispatch:
jobs:
macOS:
runs-on: macOS-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: SPM tests
run: swift test --enable-code-coverage --sanitize=thread
- name: Convert coverage files
run: |
xcrun llvm-cov export -format "lcov" \
.build/debug/hummingbird-mustachePackageTests.xctest/Contents/MacOs/hummingbird-mustachePackageTests \
-ignore-filename-regex="\/Tests\/" \
-instr-profile=.build/debug/codecov/default.profdata > info.lcov
- name: Upload to codecov.io
uses: codecov/codecov-action@v1
with:
file: info.lcov
linux:
runs-on: ubuntu-latest
strategy: