From 03eeb8e338a2fc3d1b725ba1b10cc09367811607 Mon Sep 17 00:00:00 2001 From: Tomohiro Kumagai Date: Thu, 21 Nov 2024 18:00:00 +0900 Subject: [PATCH] =?UTF-8?q?Test=20action=20=E3=81=AE=20Result=20Bundle=20P?= =?UTF-8?q?ath=20=E3=81=AB=E6=8B=A1=E5=BC=B5=E5=AD=90=E3=82=92=E6=98=8E?= =?UTF-8?q?=E8=A8=98=E3=81=97=E3=81=BE=E3=81=97=E3=81=9F=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test.yml | 2 +- .gitignore | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2fb6766..7add9e9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -39,7 +39,7 @@ jobs: device=`xcrun xctrace list devices 2>&1 | grep -oE 'iPhone.*?[^\(]+' | head -1 | awk '{$1=$1;print}' | sed -e "s/ Simulator$//"` cd ${{ matrix.config.dir }} rm -rf "${{ matrix.config.scheme }}".xcresult - xcodebuild -scheme "${{ matrix.config.scheme }}" -resultBundlePath ${{ matrix.config.scheme }} test -destination "platform=$platform,name=$device" + xcodebuild -scheme "${{ matrix.config.scheme }}" -resultBundlePath "${{ matrix.config.scheme }}".xcresult test -destination "platform=$platform,name=$device" - name: Report uses: kishikawakatsumi/xcresulttool@v1 with: diff --git a/.gitignore b/.gitignore index be1bf4d..48642dd 100644 --- a/.gitignore +++ b/.gitignore @@ -5,7 +5,8 @@ xcuserdata/ DerivedData/ docs +/Example.xcresult # Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata # hence it is not needed unless you have added a package configuration file to your project -.swiftpm \ No newline at end of file +.swiftpm