Compare commits

...

2 Commits

Author SHA1 Message Date
f36d807731 ISSUE-44: Hithomelabs/HomeLabDocker#44 making tests more verbose
All checks were successful
sample gradle build and test / tag (push) Successful in 6s
sample gradle build and test / build_tag_push (push) Successful in 2m4s
sample gradle build and test / Sync All Forks (push) Successful in 11s
Promote image with tag test to prod / tag (push) Successful in 7s
Promote image with tag test to prod / build_tag_push (push) Successful in 14s
Daily cloudflare API integration test / cloudflare-api-test (push) Successful in 1m33s
2025-11-14 20:03:35 +00:00
8b22064040 ISSUE-44: Hithomelabs/HomeLabDocker#44 Executing integration test every 6 hours 2025-11-14 20:03:35 +00:00
2 changed files with 13 additions and 5 deletions

View File

@ -1,10 +1,8 @@
name: Daily cloudflare API integration test name: Daily cloudflare API integration test
on: on:
push: schedule:
branches: [ test ] - cron: '0 */6 * * *' # Every hour
# schedule: workflow_dispatch:
# - cron: '0 * * * *' # Every hour
# workflow_dispatch:
jobs: jobs:
cloudflare-api-test: cloudflare-api-test:

View File

@ -18,6 +18,11 @@ test {
useJUnitPlatform { useJUnitPlatform {
excludeTags 'integration' excludeTags 'integration'
} }
testLogging {
events "passed", "skipped", "failed", "standardOut", "standardError"
exceptionFormat "full" // shows full stack trace
showStandardStreams = true // shows println/log output
}
} }
tasks.register('integrationTestOnly', Test) { tasks.register('integrationTestOnly', Test) {
@ -26,6 +31,11 @@ tasks.register('integrationTestOnly', Test) {
} }
description = 'Runs only integration tests tagged with @Tag("integration")' description = 'Runs only integration tests tagged with @Tag("integration")'
group = 'verification' group = 'verification'
testLogging {
events "passed", "skipped", "failed"
exceptionFormat "full"
showStandardStreams = true
}
} }
repositories { repositories {