Repository navigation
Add release-mode test runs for macOS and Linux - #134
natecook1000 wants to merge 1 commit into
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 |
FranzBusch
left a comment
There was a problem hiding this comment.
I'm just going to request changes here since we have #316 in-flight which is changing some of the fundamental ways we define the test matrix. We can relayer it on top of that if we still find it useful. It does bring release mode testing with it already.
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)