-
Notifications
You must be signed in to change notification settings - Fork 323
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
Enable Junit reports for Scalatest #3756
Conversation
a732fc3
to
6bfe4b5
Compare
This reverts commit 3f9b1f5.
99d9131
to
d579b00
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The workflow is generated by the build script, I'll update it later, separately.
In the meantime, this can go as-is.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if build.sbt
compiles, I'm good with it
Seq(Tests.Argument("-oI")) ++ | ||
sys.env | ||
.get("ENSO_TEST_JUNIT_DIR") | ||
.map { junitDir => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This compiles? I would expect Seq vs Option mismatch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's because, Option
is an Iterable
, and can be accepted by ++
method
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it's an IterableOnce
in fact https://www.scala-lang.org/api/2.13.9/scala/Option.html
[ci no changelog needed]
Pull Request Description
Changelog
Important Notes
Sometimes the report is created on a different workflow, like here. Turned out it is a known issue in GitHub Actions https://github.com/orgs/community/discussions/24616
Checklist
Please include the following checklist in your PR:
Scala,
Java,
and
Rust
style guides.
Unit tests have been written where possible.If GUI codebase was changed: Enso GUI was tested when built using BOTH
./run ide build
and./run ide watch
.