diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fc2d920..61549e1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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 \ No newline at end of file + run: xcodebuild -project ./Example/Example.xcodeproj -scheme Example test -destination platform='iOS Simulator',name='${{ matrix.sim }}' -enableCodeCoverage YES -derivedDataPath "./output" \ No newline at end of file