Add GitHub Actions workflow to run unit tests on PRs #1
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' | |
| jobs: | |
| test: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Run unit tests | |
| run: | | |
| xcodebuild test \ | |
| -project "PPPC Utility.xcodeproj" \ | |
| -scheme "PPPC Utility" \ | |
| -destination "platform=macOS" \ | |
| CODE_SIGN_IDENTITY="-" \ | |
| CODE_SIGNING_REQUIRED=NO |