From 100e816486a0f1d320c2ff78b38d02dce0f9b259 Mon Sep 17 00:00:00 2001 From: Goncalo Frade Date: Sun, 28 Jan 2024 18:31:06 +0000 Subject: [PATCH] build: fix workflow --- .github/workflows/test.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) 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()