Merge pull request #196 from mtgto/json-dict #564
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() |