Automate Documentation Publishing in Release Workflow #1908
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Tests | |
| on: [pull_request] | |
| concurrency: | |
| group: tests-${{ github.event.number }} | |
| cancel-in-progress: true | |
| jobs: | |
| unit_test_job: | |
| name: Unit | |
| runs-on: macos-26 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| with: | |
| ref: ${{ github.event.pull_request.head.ref }} | |
| repository: ${{ github.event.pull_request.head.repo.full_name }} | |
| - name: Select Xcode Version | |
| run: sudo xcode-select -switch /Applications/Xcode_26.0.1.app/Contents/Developer | |
| - name: Run Unit Tests | |
| run: set -o pipefail && xcodebuild -workspace 'PayPal.xcworkspace' -sdk 'iphonesimulator' -configuration 'Debug' -scheme 'UnitTests' -destination 'platform=iOS Simulator,name=iPhone 17' test | xcpretty |