Compare commits

..

2 Commits

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 {