Test #5
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: | |
workflow_dispatch: | |
push: | |
paths-ignore: | |
- README.md | |
- .gitignore | |
branches-ignore: | |
- "main" | |
jobs: | |
run-test: | |
name: Run Test | |
runs-on: macos-14 | |
timeout-minutes: 15 | |
env: | |
DEVELOPER_DIR: "/Applications/Xcode_15.4.app/Contents/Developer" | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Show Xcode version | |
run: xcodebuild -version | |
- name: Run Test | |
run: | | |
xcodebuild test \ | |
-scheme xcstrings-migrator-Package \ | |
-destination "platform=macOS,arch=arm64" \ | |
-resultBundlePath TestResults/result_bundle | \ | |
xcpretty -c && exit ${PIPESTATUS[0]} | |
- name: Archive test results | |
if: success() || failure() | |
uses: kishikawakatsumi/[email protected] | |
with: | |
path: TestResults/result_bundle.xcresult | |
show-passed-tests: false |