Skip to content

Commit 393cf3b

Browse files
committed
Inspect coverage output.
1 parent 118114e commit 393cf3b

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/swift.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,11 @@ jobs:
7878
echo "Wrote coverage.xml"
7979
wc -l coverage.xml || true
8080
81-
- name: Upload xcresult bundle
82-
uses: actions/upload-artifact@v4
83-
with:
84-
name: PackageRunnerUITests-xcresult
85-
path: Build/PackageRunnerUITests.xcresult
81+
- name: Inspect coverage.xml
82+
run: |
83+
set -euo pipefail
84+
sed -n '1,80p' coverage.xml
85+
grep -n "Sources/ModelSettingViewModeling" coverage.xml | sed -n '1,20p' || true
8686
8787
- name: Upload coverage to Codecov
8888
uses: codecov/codecov-action@v5
@@ -91,4 +91,3 @@ jobs:
9191
files: coverage.xml
9292
fail_ci_if_error: true
9393
verbose: true
94-

0 commit comments

Comments
 (0)