Skip to content

Commit

Permalink
Use xcodebuild instead of swift test as a workaround for SPM package …
Browse files Browse the repository at this point in the history
  • Loading branch information
interstateone committed Oct 14, 2020
1 parent 24b4aa0 commit 6576aa5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@ jobs:
- name: Run tests
env:
DEVELOPER_DIR: /Applications/Xcode_12.app
run: swift test
# Normally would use `swift test` but there's a bug related to SPM package resources, so using xcodebuild as a workaround
# https://forums.swift.org/t/swift-5-3-spm-resources-in-tests-uses-wrong-bundle-path/37051/10
run: xcodebuild test -scheme xcodes

0 comments on commit 6576aa5

Please sign in to comment.