1 parent e2cd064 commit 3822366Copy full SHA for 3822366
1 file changed
.github/workflows/swift.yml
@@ -19,6 +19,24 @@ jobs:
19
- name: Test
20
run: swift test -c ${{ matrix.config }}
21
22
+ coverage:
23
+ name: Code Coverage
24
+ runs-on: macos-26
25
+ steps:
26
+ - name: Checkout
27
+ uses: actions/checkout@v4
28
+ - name: Swift Version
29
+ run: swift --version
30
+ - name: Export coverage and enforce threshold
31
+ run: Scripts/coverage.sh
32
+ - name: Upload coverage report
33
+ if: always()
34
+ uses: actions/upload-artifact@v4
35
+ with:
36
+ name: code-coverage
37
+ path: .build/coverage/coverage.lcov
38
+ if-no-files-found: error
39
+
40
linux:
41
name: Linux (${{ matrix.container }})
42
runs-on: ubuntu-latest
0 commit comments