Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyome22 committed Oct 11, 2024
1 parent 97fecd1 commit 36f28e2
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ name: Test

on:
workflow_dispatch:
push:
paths-ignore:
- README.md
- .gitignore
branches-ignore:
- "main"

jobs:
run-test:
Expand All @@ -22,12 +28,13 @@ jobs:
run: |
xcodebuild test \
-scheme xcstrings-migrator-Package \
-destination "platform=macOS" \
-resultBundlePath TestsResult |\
-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: TestsResult.xcresult
path: TestResults/result_bundle.xcresult
show-passed-tests: false

0 comments on commit 36f28e2

Please sign in to comment.