We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a6307a commit d07ac2cCopy full SHA for d07ac2c
.github/workflows/ci.yml
@@ -126,7 +126,7 @@ jobs:
126
shell: bash
127
run: |
128
set -euo pipefail
129
- HAS_TESTS=$(( (grep -R --include=\*.m --include=\*.swift -n "XCTestCase" . || true) | wc -l | xargs ))
+ HAS_TESTS=$( { grep -R --include='*.m' --include='*.swift' -n "XCTestCase" . || true; } | wc -l | tr -d '[:space:]')
130
if [[ "$HAS_TESTS" -gt "0" ]]; then
131
if [[ "${KIND:-}" == "workspace" ]]; then
132
# Only run tests with a scheme; if no shared scheme, skip.
0 commit comments