Skip to content

Commit

Permalink
Revert saving xcresult as artifact and turn off -quiet in xcodebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Jarvis committed Nov 12, 2024
1 parent cc74b07 commit 6c2c58a
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: macos-13
environment: default
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v3
- name: Format lint
run: swiftformat --lint .
- name: Lint
Expand All @@ -37,16 +37,10 @@ jobs:
sim: iPhone 15
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v3
- name: Select Xcode ${{ matrix.xcode }}
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
- name: Boot simulator
run: xcrun simctl boot '${{ matrix.sim }}'
- name: Run tests
run: xcodebuild -project ./Example/Example.xcodeproj -scheme Example test -destination platform='iOS Simulator',name='${{ matrix.sim }}' -quiet -enableCodeCoverage YES -resultBundlePath Example.xcresult
- name: Upload xcresult file
uses: actions/upload-artifact@v4
if: ${{ failure() }}
with:
name: Example-${{ github.run_number }}.xcresult
path: Example.xcresult
run: xcodebuild -project ./Example/Example.xcodeproj -scheme Example test -destination platform='iOS Simulator',name='${{ matrix.sim }}' -enableCodeCoverage YES -derivedDataPath "./output"

0 comments on commit 6c2c58a

Please sign in to comment.