ISSUE-44: Making integration test run every 6 hours #89
@ -1,10 +1,8 @@
|
||||
name: Daily cloudflare API integration test
|
||||
on:
|
||||
push:
|
||||
branches: [ test ]
|
||||
# schedule:
|
||||
# - cron: '0 * * * *' # Every hour
|
||||
# workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '0 */6 * * *' # Every hour
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
cloudflare-api-test:
|
||||
|
||||
10
build.gradle
10
build.gradle
@ -18,6 +18,11 @@ test {
|
||||
useJUnitPlatform {
|
||||
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) {
|
||||
@ -26,6 +31,11 @@ tasks.register('integrationTestOnly', Test) {
|
||||
}
|
||||
description = 'Runs only integration tests tagged with @Tag("integration")'
|
||||
group = 'verification'
|
||||
testLogging {
|
||||
events "passed", "skipped", "failed"
|
||||
exceptionFormat "full"
|
||||
showStandardStreams = true
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user