Skip to content

Commit b58c8fa

Browse files
chore: Avoids XCTest issues in MacOS
1 parent 0ae8219 commit b58c8fa

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,12 @@ jobs:
2727
name: Build and test on macos-latest
2828
runs-on: macos-latest
2929
steps:
30-
- uses: swift-actions/setup-swift@v1
30+
- uses: maxim-lobanov/setup-xcode@v1
31+
with:
32+
xcode-version: latest
3133
- uses: actions/checkout@v3
32-
- name: Test
33-
run: swift test --parallel
34+
- name: Build and test
35+
run: swift test --parallel --enable-test-discovery
3436

3537
# ubuntu-latest is ubuntu-22.04 currently. Swift versions older than 5.7 don't have builds for 22.04. https://www.swift.org/download/
3638
ubuntu-old:

0 commit comments

Comments
 (0)