Skip to content

Support the --test flag with the publish & publish local sub-commands #10139

Support the --test flag with the publish & publish local sub-commands

Support the --test flag with the publish & publish local sub-commands #10139

GitHub Actions / Test report native-mostly-static-tests-3 failed Mar 4, 2025 in 0s

688 passed, 2 failed and 0 skipped

Tests failed

❌ test-report.xml

690 tests were completed in 2052s with 688 passed, 2 failed and 0 skipped.
Report exceeded GitHub limit of 65535 bytes and has been trimmed

Annotations

Check failure on line 0 in test-report.xml

See this annotation in the file changed.

@github-actions github-actions / Test report native-mostly-static-tests-3

scala.cli.integration.PublishLocalTests212.publish local twice ►

Failed test found in:
  test-report.xml
Error:
          ERROR:
Raw output
        ERROR:
        Result of /home/runner/work/scala-cli/scala-cli/out/cli/3.3.5/mostly-static-image/nativeImage.dest/scala-cli…: 1
/home/runner/work/scala-cli/scala-cli/out/integration/tmpDirBase.dest/working-dir/run-1357755084/test-369/src/project.scala:5: error: Project is already defined as object Project
object Project {
       ^
model contains 2 documentable templates
        Category:
        os.SubprocessException
        File:
        PublishLocalTestDefinitions.scala
        Line:
        135

Check failure on line 0 in test-report.xml

See this annotation in the file changed.

@github-actions github-actions / Test report native-mostly-static-tests-3

scala.cli.integration.PublishLocalTests212.publish local with test scope ►

Failed test found in:
  test-report.xml
Error:
          ERROR:
Raw output
        ERROR:
        Result of /home/runner/work/scala-cli/scala-cli/out/cli/3.3.5/mostly-static-image/nativeImage.dest/scala-cli…: 1
        Category:
        os.SubprocessException
        File:
        PublishLocalTestDefinitions.scala
        Line:
        327