diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 831c786..de5e966 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,29 +9,26 @@ on: jobs: test: name: Build and Test - runs-on: macos-latest - + runs-on: macos-13 + steps: - name: Checkout uses: actions/checkout@v4 - - name: Show Xcode version - run: xcodebuild -version - + - name: Select Xcode 14.3.1 + run: | + sudo xcode-select -s /Applications/Xcode_14.3.1.app + xcodebuild -version + - name: Show build settings run: xcodebuild -list -project Coinly.xcodeproj - name: Build and test run: | - set -o pipefail && xcodebuild \ + xcodebuild clean build test \ -project Coinly.xcodeproj \ -scheme "Coinly" \ -destination 'platform=iOS Simulator,name=iPhone 14,OS=16.4' \ - clean test | xcpretty - - - name: Upload test results - uses: actions/upload-artifact@v4 - if: failure() - with: - name: test-logs - path: ~/Library/Developer/Xcode/DerivedData/**/Logs/Test/**/*.xcresult + CODE_SIGN_IDENTITY="" \ + CODE_SIGNING_REQUIRED=NO \ + CODE_SIGNING_ALLOWED=NO