jason-lang / jason

Jason is a fully-fledged interpreter for an extended version of AgentSpeak, a BDI agent-oriented logic programming language.
http://jason-lang.github.io
GNU Lesser General Public License v3.0
223 stars 67 forks source link

Test member #58

Closed cleberjamaral closed 4 years ago

cleberjamaral commented 4 years ago

Although the tests did pass (actually they were skipped) before the commit 2025382 it has a fail when executing the tests in containers (which is the case of github actions). The behaviour can be seen when executing locally:

$ docker volume create --name gradle-cache $ docker run -ti --rm -u gradle -v gradle-cache:/home/gradle/.gradle -v "$PWD":/home/gradle/project -w /home/gradle/project -p 8000:8000 gradle:6.3.0-jdk11 bash -c "./gradlew test -i"

The problem is related with the absense of ~/.jason/user.properties file, which is supposed to set jasonJar address. The opted solution was to perform the task config before the test, like this: ./gradlew config test -i