Fix test concurrency for Xcode 16.4 CI (async setUp/tearDown) #7
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build-and-test: | |
| runs-on: macos-15 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Create Config.xcconfig with dummy values | |
| run: | | |
| cat > Config.xcconfig <<EOF | |
| GOOGLE_CLIENT_ID = dummy-client-id.apps.googleusercontent.com | |
| GOOGLE_CLIENT_SECRET = dummy-client-secret | |
| EOF | |
| - name: Install XcodeGen | |
| run: brew install xcodegen | |
| - name: Generate Xcode project | |
| run: xcodegen generate | |
| - name: Build | |
| run: xcodebuild build -project TaskMenu.xcodeproj -scheme TaskMenu -destination "platform=macOS" CODE_SIGN_IDENTITY="-" CODE_SIGN_STYLE=Manual DEVELOPMENT_TEAM="" | |
| - name: Test | |
| run: xcodebuild test -project TaskMenu.xcodeproj -scheme TaskMenuTests -destination "platform=macOS" CODE_SIGN_IDENTITY="-" CODE_SIGN_STYLE=Manual DEVELOPMENT_TEAM="" |