Skip to content

Commit

Permalink
actions: Add xcresulttool report (#7)
Browse files Browse the repository at this point in the history
* actions: Add xcresulttool report

* Create pull_request_template.md
  • Loading branch information
josetorronteras authored Jun 8, 2024
1 parent 904d37a commit 91b2557
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
**CHANGELOG**
<!--- Describe your changes in detail -->
10 changes: 8 additions & 2 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,20 @@ jobs:
xcodebuild \
-scheme "$SCHEME" \
-destination "platform=iOS Simulator,name=${SIMULATOR},OS=${{ matrix.os_version }}" \
clean build
build-for-testing | xcpretty --color --simple
- name: Test
run: |
xcodebuild \
-scheme "$SCHEME" \
-destination "platform=iOS Simulator,name=${SIMULATOR},OS=${{ matrix.os_version }}" \
-enableCodeCoverage YES \
test
-resultBundlePath TestResults \
test-without-building | xcpretty --color --simple
- name: Xcresulttool
uses: kishikawakatsumi/xcresulttool@v1
with:
path: TestResults.xcresult
if: success() || failure()
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
Expand Down

0 comments on commit 91b2557

Please sign in to comment.