Skip to content

Commit

Permalink
enable macos package test in script
Browse files Browse the repository at this point in the history
  • Loading branch information
rachguo authored and rachguo committed Nov 18, 2023
1 parent 84be6eb commit 172ab19
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions tools/ci_build/github/apple/test_ios_packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,23 @@ def _test_ios_packages(args):
cwd=target_proj_path,
)

if PackageVariant[args.variant] == PackageVariant.Full:
subprocess.run(
[
"xcrun",
"xcodebuild",
"test",
"-workspace",
"./ios_package_test.xcworkspace",
"-scheme",
"macos_package_test",
"-destination",
f"platform=macos",

Check warning

Code scanning / lintrunner

RUFF/F541 Warning test

f-string without any placeholders.
See https://beta.ruff.rs/docs/rules/
],
shell=False,
check=True,
cwd=target_proj_path,
)

def parse_args():
parser = argparse.ArgumentParser(
Expand Down

0 comments on commit 172ab19

Please sign in to comment.