Big sur compatibility removal #5
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: Unit Tests | |
| on: | |
| pull_request: | |
| paths: | |
| - '.github/workflows/tests.yml' | |
| - '**/*.swift' | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Run unit tests with code coverage | |
| run: | | |
| xcodebuild test \ | |
| -project "PPPC Utility.xcodeproj" \ | |
| -scheme "PPPC Utility" \ | |
| -destination "platform=macOS" \ | |
| -enableCodeCoverage YES \ | |
| -resultBundlePath TestResults.xcresult \ | |
| CODE_SIGN_IDENTITY="-" \ | |
| CODE_SIGNING_REQUIRED=NO | |
| - name: Display code coverage summary | |
| if: always() | |
| run: | | |
| xcrun xccov view --report TestResults.xcresult | grep -E "^[A-Z].*\.app|PPPC-Utility/Source" |