up iOS deployment target to 13, fix SwiftLint XCode project integrati… #75
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: BezierKit Mac + Linux | |
on: [push, pull_request] | |
jobs: | |
Mac: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build | |
run: swift build | |
- name: Run tests | |
run: | | |
swift test --enable-test-discovery --enable-code-coverage | |
xcrun llvm-cov export -format="lcov" .build/debug/BezierKitPackageTests.xctest/Contents/MacOS/BezierKitPackageTests -instr-profile .build/debug/codecov/default.profdata > info.lcov | |
- name: code coverage upload to codecov.io | |
uses: codecov/[email protected] | |
with: | |
file: info.lcov | |
Linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build | |
run: swift build | |
- name: Run tests | |
run: swift test --enable-test-discovery |