forked from Hithomelabs/CFTunnels
Compare commits
2 Commits
e87fb6d153
...
95ec64630a
| Author | SHA1 | Date | |
|---|---|---|---|
| 95ec64630a | |||
| d194828c44 |
@ -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:
|
||||||
|
|||||||
10
build.gradle
10
build.gradle
@ -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 {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user