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

Scala CLI fails to run tests for a pure Java project #2940

Closed
alexarchambault opened this issue May 24, 2024 · 0 comments · Fixed by #3009
Closed

Scala CLI fails to run tests for a pure Java project #2940

alexarchambault opened this issue May 24, 2024 · 0 comments · Fixed by #3009
Assignees
Labels
bug Something isn't working java Issues tied to compiling & running of Java code missing feature Something should have been implemented, but wasn't. test command

Comments

@alexarchambault
Copy link
Contributor

alexarchambault commented May 24, 2024

Version(s)
1.3.1

Describe the bug
Running the test command for a pure Java project results in an error message like

[error]  Got Scala dependency org.virtuslab.scala-cli::test-runner:1.3.1, but no Scala version is provided

To Reproduce
This can be reproduced from the coursier/directories-jvm repository:

$ git rev-parse HEAD
968eb94f7c837e768e00dfc4e9971de7cc4018e1
$ scala-cli test .
…
[error]  Got Scala dependency org.virtuslab.scala-cli::test-runner:1.3.1, but no Scala version is provided

Expected behaviour
Scala CLI runs tests fine for pure Java projects

@alexarchambault alexarchambault added the bug Something isn't working label May 24, 2024
@Gedochao Gedochao added test command java Issues tied to compiling & running of Java code missing feature Something should have been implemented, but wasn't. labels Jun 3, 2024
@Gedochao Gedochao self-assigned this Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working java Issues tied to compiling & running of Java code missing feature Something should have been implemented, but wasn't. test command
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants