diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1cc2e34..9f77b0b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,13 +29,14 @@ jobs: runs-on: macOS-latest strategy: fail-fast: false - matrix: + matrix: destination: - 'platform=macOS' - 'platform=macOS,variant=Mac Catalyst' - 'platform=iOS Simulator,name=iPhone 11 Pro' - 'platform=tvOS Simulator,name=Apple TV' - 'platform=watchOS Simulator,name=Apple Watch Series 5 (40mm)' + xcode_version: ${{ fromJson(needs.generate-matrix.outputs.matrix).xcode_version }} env: DEVELOPER_DIR: /Applications/Xcode_${{ needs.generate-matrix.outputs.latest-xcode-version }}.app/Contents/Developer steps: @@ -69,6 +70,7 @@ jobs: path: test_output - name: Merge xcresult files run: + cat test_output xcrun xcresulttool merge test_output/**/*.xcresult --output-path test_output/TestResults.xcresult - uses: kishikawakatsumi/xcresulttool@v1 if: success() || failure()