Skip to content

Commit

Permalink
Test action の Result Bundle Path に拡張子を明記しました。
Browse files Browse the repository at this point in the history
  • Loading branch information
es-kumagai committed Nov 21, 2024
1 parent cccf662 commit 03eeb8e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
.swiftpm

0 comments on commit 03eeb8e

Please sign in to comment.