0.26.0 #525
This file contains 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: test | |
on: | |
push: | |
branches: [main] | |
pull_request_target: | |
branches: [main] | |
jobs: | |
test: | |
runs-on: macos-14 | |
permissions: | |
checks: write | |
steps: | |
# https://github.com/actions/runner-images/blob/main/images/macos/macos-14-Readme.md#xcode | |
- name: Select Xcode version | |
run: sudo xcode-select -s '/Applications/Xcode_15.4.app/Contents/Developer' | |
# NOTE: pull_request_targetで実行したときはPull RequestがマージされたリビジョンではなくBaseのリビジョンで実行されます。 | |
- uses: actions/checkout@v4 | |
- name: test | |
run: | | |
xcodebuild -target macSKKTests -scheme macSKK -resultBundlePath TestResults DEVELOPMENT_TEAM= test | xcpretty | |
- uses: kishikawakatsumi/xcresulttool@v1 | |
with: | |
path: TestResults.xcresult | |
show-passed-tests: false | |
if: success() || failure() |