Skip to content

Commit a2a215a

Browse files
Try with suggestion from actions/runner-images@9811
1 parent fb79f26 commit a2a215a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ jobs:
2626
xcodebuild test -project macos-xcode.xcodeproj -scheme test2 -enableCodeCoverage YES -derivedDataPath build
2727
- name: Collect coverage into one XML report
2828
run: |
29+
# Needed to use xcrun on github actions runner. See https://github.com/actions/runner-images/issues/9811.
30+
sudo xcode-select -s /Library/Developer/CommandLineTools
2931
bash xccov-to-generic.sh build/Logs/Test/*.xcresult/ > generic-coverage.xml
3032
- name: SonarQube Scan
3133
uses: SonarSource/sonarqube-scan-action@v4

0 commit comments

Comments
 (0)