diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f4167c2..83a2990 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,12 +12,17 @@ on: jobs: build: - runs-on: macos-latest + runs-on: macos-13 steps: - uses: actions/checkout@v3 - name: Build - run: swift build -v - - name: Run tests - run: swift test -v + run: xcodebuild build test -scheme "peerdid-swift" -destination "platform=macOS" -resultBundlePath TestResults + + - name: Publish tests results + uses: kishikawakatsumi/xcresulttool@v1.7.1 + with: + path: TestResults.xcresult + show-code-coverage: true + if: success() || failure()