-
Notifications
You must be signed in to change notification settings - Fork 32
Add release-mode test runs for macOS and Linux #134
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
base: main
Are you sure you want to change the base?
Conversation
6fcd646 to
2cc0791
Compare
2cc0791 to
28ea3dc
Compare
|
Why not just run in release always? |
Most packages don't support building tests in release mode due to |
|
|
|
Huh, that isn't my experience! I thought it would just be easier to not block on this for packages that couldn't support it fully. |
|
I think you need to pass |
|
FWIW even with |
|
The way to enable @testable imports even in release builds is to use |
This adds a
Build / Test [release]step to the tests for macOS and Linux, so that tests can be run in both modes. It includes new inputs for:macos_release_build_command(default:xcrun swift test -c release)linux_release_build_command(default:swift test -c release)enable_release_tests(default:false)