[ai] fix: replace force-unwraps with guard-let in WindowManager, enable CI coverage #131
Workflow file for this run
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: Build & Test | |
| permissions: | |
| contents: read | |
| on: | |
| pull_request: | |
| paths-ignore: | |
| - "www/**" | |
| - ".github/workflows/www.yml" | |
| push: | |
| branches: [main] | |
| paths-ignore: | |
| - "www/**" | |
| - ".github/workflows/www.yml" | |
| jobs: | |
| build: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 | |
| with: | |
| persist-credentials: false | |
| - run: make build | |
| test: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 | |
| with: | |
| persist-credentials: false | |
| - name: Build and run tests | |
| run: | | |
| xcodebuild test \ | |
| -project "Swift Shift.xcodeproj" \ | |
| -scheme "Swift Shift" \ | |
| -destination "platform=macOS" \ | |
| -only-testing:SwiftShiftTests \ | |
| -enableCodeCoverage NO \ | |
| CODE_SIGNING_ALLOWED=NO CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO |