How to set to implement part of the tests?

Due to that it will cost too much time to finish all the circle CI tests, I want to just test some of our main tests. Is there a way to implement the function? How should I set in the circle.yml file? For now, my setting about test is bellow.

test:
override:
- xcrun instruments -w ‘iPhone 7 (10.2)’ || true
- sleep 15
- set -o pipefail &&
xcodebuild
CODE_SIGNING_REQUIRED=NO
CODE_SIGN_IDENTITY=
PROVISIONING_PROFILE=
-sdk iphonesimulator
-destination ‘platform=iOS Simulator,name=iPhone 7,OS=10.3’
-workspace XXX.xcworkspace
-scheme 'XXX - ADHOC’
clean build test |
tee $CIRCLE_ARTIFACTS/xcode_raw.log |
xcpretty --color --report junit --output $CIRCLE_TEST_REPORTS/xcode/results.xml

Thanks in advance.

1 Like