What is the expansion of "$ play test" in circleCI?

I am trying to upload my project to circleci, but for some reason it crashes in the drop-down name "$ play test", I have no idea what it is, and I don’t have any tests in my project at all.

this is the section that talks about:

enter image description here

and im get the error there, this is the error:

enter image description here

I removed “- sbt test" from my .yml circle, so it’s not, and I saw another test folder in the game, so I thought it might be, but its empty, so I created a file in it and nothing I didn’t put it in it and still get the same error ... driving it crazy: /////

please helpppppp

if you need this is my circle.yml:

machine: services: - docker java: version: oraclejdk8 environment: SBT_VERSION: 0.13.9 SBT_OPTS: "-Xms512M -Xmx1536M -Xss1M -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=256M" dependencies: cache_directories: - "~/.sbt" - "~/.ivy2" - "~/.m2" - "~/docker" pre: - wget --output-document=$HOME/bin/sbt-launch.jar https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt-launch/"$SBT_VERSION"/sbt-launch.jar - echo "java $SBT_OPTS -jar \`dirname \$0\`/sbt-launch.jar \"\ $@ \"" > $HOME/bin/sbt - chmod u+x $HOME/bin/sbt - sbt sbt-version override: - sbt clean update post: - find . -type f -regex ".*/target/test-reports/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/ \; general: artifacts: - "target/universal/*.tgz" deployment: feature: branch: /.*/ commands: - docker login -e admin@something.com -u ${ART_USER} -p ${ART_KEY} docker-local.artifactoryonline.com - sbt -DBUILD_NUMBER="${CIRCLE_BUILD_NUM}" docker:publish 
+5
source share
1 answer

CircleCI has an “Output” function that examines what language your project is in, as well as directories found, file extensions, etc., to guess which dependencies and tests you have.

If you look to the right of where you saw the “test test”, you will see that it says “output”, which means that this test was the result of Interference, not circle.yml . The conclusion is that you need a playback testing platform ( https://www.playframework.com/ ) and thus did a default play test , play test ($ is part of the tooltip).

If this is not what you want, and it looks like this, you need to override the test command to run any test instead. It will be something like this:

 test: override: - echo "This is my test" - ./my-custom-command 

Additional information: https://circleci.com/docs/configuration/#test

+3
source

Source: https://habr.com/ru/post/1246567/


All Articles