We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fa01f9 commit 8479404Copy full SHA for 8479404
.github/workflows/swift.yml
@@ -0,0 +1,20 @@
1
+name: Build
2
+
3
+on:
4
+ push:
5
+ branches: [ master, develop ]
6
7
+jobs:
8
+ build:
9
10
+ runs-on: macos-latest
11
12
+ steps:
13
+ - uses: actions/checkout@v2
14
+ - name: Build
15
+ run: swift build -v
16
+ - name: Run tests
17
+ run: |
18
+ swift test --enable-code-coverage -v
19
+ xcrun llvm-cov export -format="lcov" .build/debug/swift-doc-coveragePackageTests.xctest/contents/macos/swift-doc-coveragePackageTests -instr-profile .build/debug/codecov/default.profdata -ignore-filename-regex='_CSwiftSyntax|SwiftDocCoverageTests|ArgumentParser|SwiftSyntaxParser|SwiftSyntax|ArgumentParserToolInfo' > info.lcov
20
+ bash <(curl -s https://codecov.io/bash)
0 commit comments