Skip to content

Merge pull request #205 from mtgto/avoid-mode-changed #563

Merge pull request #205 from mtgto/avoid-mode-changed

Merge pull request #205 from mtgto/avoid-mode-changed #563

Workflow file for this run

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()