We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a404701 commit 0854598Copy full SHA for 0854598
.github/workflows/swift.yml
@@ -0,0 +1,27 @@
1
+name: Swift
2
+
3
+on:
4
+ push:
5
+ branches: [ master ]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
12
+ runs-on: macos-latest
13
14
+ steps:
15
+ - uses: actions/checkout@v2
16
17
+ - name: Build
18
+ run: swift build -v
19
20
+ - name: Run tests
21
+ run: swift test --enable-code-coverage
22
23
+ - name: Prepare Code Coverage
24
+ run: xcrun llvm-cov export -format="lcov" .build/x86_64-apple-macosx/debug/XCombinePackageTests.xctest/Contents/MacOS/XCombinePackageTests -instr-profile .build/x86_64-apple-macosx/debug/codecov/default.profdata > info.lcov
25
26
+ - name: Upload to CodeCov.io
27
+ run: bash <(curl https://codecov.io/bash)
0 commit comments