-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[zio-test-sbt] Use IntelliJRenderer when running sbt test inside Teamcity #7241
Comments
@swoogles Can you take a look at this? |
@ya-goodfella Deciding how to tackle this. Looks like checking for the We're a bit wary of adding custom logic to recognize different CI environments. What do you think about letting users specify which Renderer to use through some configuration channel? Also, are you maintaining any open source projects that use Teamcity? I haven't worked with it before, and it might be nice if I could push to a branch on a project that was already configured with it. |
Yep, looks like it's a preferred way of checking Teamcity environment.
I'm ok with that, that's what I was thinking about too - a composable and configurable renderers; although I don't know which way of doing might be user-friendly. AFAIK, sbt doesn't provide a way to configure TestFramework (apart from providing a class names)
Unfortunately no, but there is free to use Docker image of it |
@ya-goodfella Try passing |
To propagate test statuses to CI correctly, zio-test-sbt may use IntelliJRenderer when it's running incide teamcity build
see
zio/test-sbt/js-jvm/src/main/scala/zio/test/sbt/ZTestEvent.scala
Lines 26 to 28 in 49fddba
The text was updated successfully, but these errors were encountered: