Skip to content

Commit

Permalink
Avoid actually testing under Xcode
Browse files Browse the repository at this point in the history
  • Loading branch information
dabrahams committed Feb 12, 2024
1 parent 892a702 commit d9c39e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ jobs:
with:
runCmd: ${{ env.BUILD_AND_TEST }}

- name: Xcode
- name: Xcode (build only—"error: Scheme DummyTestee is not currently configured for the test action.")
if: ${{ matrix.os == 'macos-latest' }}
run: |
cmake -DENABLE_TESTING=1 -GXcode -S . -B .xcode-build
cd .xcode-build
xcrun xcodebuild -configuration ${{ matrix.configuration }} -scheme XCTestDiscovery -destination 'platform=macOS' test
xcrun xcodebuild -configuration ${{ matrix.configuration }} -scheme DummyTestee -destination 'platform=macOS' build-for-testing
- name: Setup Swift
uses: SwiftyLab/setup-swift@latest
Expand Down

0 comments on commit d9c39e7

Please sign in to comment.