We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0000114 commit 00492fcCopy full SHA for 00492fc
1 file changed
.github/workflows/swift.yml
@@ -0,0 +1,29 @@
1
+name: Swift
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
8
9
+jobs:
10
+ test:
11
+ runs-on: macos-latest
12
13
+ steps:
14
+ - name: Get Sources
15
+ uses: actions/checkout@v2
16
17
+ - name: Build Package
18
+ run: swift build -v
19
20
+ - name: Test & publish code coverage to Code Climate
21
+ uses: paambaati/codeclimate-action@v3.0.0
22
+ env:
23
+ CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
24
+ with:
25
+ coverageCommand: swift test --enable-code-coverage
26
+ debug: true
27
+ coverageLocations: ${{github.workspace}}/.build/debug/codecov/*.json:lcov-json
28
29
0 commit comments