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
path: ./build
commands:
- ./gradlew :test
- ./gradlew :shadowJar
- ./mill tests.test
- name: Deploy
image: override6/tbasket-backend:latest
depends_on:
- 'Unit tests'
environment:
SSH_PRIVATE_KEY:
from_secret: SSH_PRIVATE
PASSWD:
from_secret: PASSWD
volumes:
- name: build
path: ./build
commands:
- chmod 777 drone/deliver.sh
- drone/deliver.sh
# - name: Deploy
# image: override6/tbasket-backend:latest
# depends_on:
# - 'Unit tests'
# environment:
# SSH_PRIVATE_KEY:
# from_secret: SSH_PRIVATE
# PASSWD:
# from_secret: PASSWD
# volumes:
# - name: build
# path: ./build
# commands:
# - ./mill Core.compile
# - 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"]
}
]
}