setting up UTs in drone
continuous-integration/drone/push Build is failing Details
continuous-integration/drone Build is failing Details

drone-setup
Override-6 2 years ago
parent dc501fded6
commit c5ee4a6ac1

@ -10,21 +10,21 @@ steps:
- name: build - name: build
path: ./build path: ./build
commands: commands:
- ./gradlew :test - ./mill tests.test
- ./gradlew :shadowJar
- name: Deploy # - name: Deploy
image: override6/tbasket-backend:latest # image: override6/tbasket-backend:latest
depends_on: # depends_on:
- 'Unit tests' # - 'Unit tests'
environment: # environment:
SSH_PRIVATE_KEY: # SSH_PRIVATE_KEY:
from_secret: SSH_PRIVATE # from_secret: SSH_PRIVATE
PASSWD: # PASSWD:
from_secret: PASSWD # from_secret: PASSWD
volumes: # volumes:
- name: build # - name: build
path: ./build # path: ./build
commands: # commands:
- chmod 777 drone/deliver.sh # - ./mill Core.compile
- drone/deliver.sh # - chmod 777 drone/deliver.sh
# - drone/deliver.sh

@ -0,0 +1,45 @@
{
"results": [
{
"name" : "org.tbasket.test.pages.LoginPageHandlerTests/\/login page handler/login situation tests/login with unknown account",
"status" : "Success",
"durationMillis" : "3408",
"annotations" : "",
"fullyQualifiedClassName" : "org.tbasket.test.pages.LoginPageHandlerTests",
"labels" : ["\/login page handler", "login situation tests", "login with unknown account"]
},
{
"name" : "org.tbasket.test.pages.LoginPageHandlerTests/\/login page handler/erroned request body tests/with invalid json",
"status" : "Success",
"durationMillis" : "2403",
"annotations" : "",
"fullyQualifiedClassName" : "org.tbasket.test.pages.LoginPageHandlerTests",
"labels" : ["\/login page handler", "erroned request body tests", "with invalid json"]
},
{
"name" : "org.tbasket.test.pages.LoginPageHandlerTests/\/login page handler/erroned request body tests/with no password attribute",
"status" : "Success",
"durationMillis" : "2406",
"annotations" : "",
"fullyQualifiedClassName" : "org.tbasket.test.pages.LoginPageHandlerTests",
"labels" : ["\/login page handler", "erroned request body tests", "with no password attribute"]
},
{
"name" : "org.tbasket.test.pages.LoginPageHandlerTests/\/login page handler/erroned request body tests/with no mail attribute",
"status" : "Success",
"durationMillis" : "2412",
"annotations" : "",
"fullyQualifiedClassName" : "org.tbasket.test.pages.LoginPageHandlerTests",
"labels" : ["\/login page handler", "erroned request body tests", "with no mail attribute"]
},
{
"name" : "org.tbasket.test.pages.LoginPageHandlerTests/\/login page handler/erroned request body tests/empty packet",
"status" : "Success",
"durationMillis" : "2436",
"annotations" : "",
"fullyQualifiedClassName" : "org.tbasket.test.pages.LoginPageHandlerTests",
"labels" : ["\/login page handler", "erroned request body tests", "empty packet"]
}
]
}