Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Use --package-path for test actions #971

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

clackary
Copy link
Contributor

Pull Request Description

Updates the usage of swift test to use --package-path instead of the deprecated -C.

Resolves Unknown option '-C' errors when attempting to run TestSwiftPackage actions.

Also includes a minor refactor to prevent extraneous swift package clean debug output from printing. This was due to a difference in clean_swift_package arguments.

Acceptance Criteria

N/A -- no new project is being submitted for review

Resolves "Unknown option '-C'" failures when running TestSwiftPackage actions
Matches how clean_swift_package is used in the build_swift_package function
@clackary
Copy link
Contributor Author

I was able to run various TestSwiftPackage actions successfully with these changes.

Partially resolves #926. It doesn't affect any production jobs to my knowledge, but it does allow me to run test actions locally.

@clackary
Copy link
Contributor Author

@swift-ci test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant