Skip to content

Test

Test #2

Workflow file for this run

name: Test
on:
workflow_dispatch:
push:
tags:
- "*.*.*"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
run-unit-test:
name: Unit Test
runs-on: macos-14
timeout-minutes: 30
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 SourcePackagesParserTests
run: |
xcodebuild -scheme spp test \
-only-testing:SourcePackagesParserTests \
-destination "platform=macOS,arch=arm64" \
-resultBundlePath TestResults/result_bundle | \
xcpretty -c && exit ${PIPESTATUS[0]}
- name: Archive test results
if: success() || failure()
uses: kishikawakatsumi/xcresulttool@v1
with:
path: TestResults/result_bundle.xcresult
show-passed-tests: false