From 36f28e26d125c8c00a542a23caf5c9001b8eafd5 Mon Sep 17 00:00:00 2001 From: "Takuto NAKAMURA (Kyome)" Date: Fri, 11 Oct 2024 12:58:34 +0900 Subject: [PATCH] Update test.yml --- .github/workflows/test.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7c86b3d..a2fec34 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,6 +2,12 @@ name: Test on: workflow_dispatch: + push: + paths-ignore: + - README.md + - .gitignore + branches-ignore: + - "main" jobs: run-test: @@ -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/xcresulttool@v1.7.1 with: - path: TestsResult.xcresult + path: TestResults/result_bundle.xcresult + show-passed-tests: false