Skip to content

Test

Test #5

Workflow file for this run

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