diff --git a/.github/workflows/workflows.yaml b/.github/workflows/workflows.yaml index 8073bd5..47adcef 100644 --- a/.github/workflows/workflows.yaml +++ b/.github/workflows/workflows.yaml @@ -10,11 +10,11 @@ jobs: matrix: java: [ 17 ] kubernetes: - #- 'v1.24.17' - #- 'v1.25.15' - #- 'v1.26.14' - #- 'v1.27.11' - #- 'v1.28.7' + - 'v1.24.17' + - 'v1.25.15' + - 'v1.26.14' + - 'v1.27.11' + - 'v1.28.7' - 'v1.29.2' steps: diff --git a/src/test/kotlin/eu/openanalytics/shinyproxyoperator/helpers/junit/TestExecutionListener.kt b/src/test/kotlin/eu/openanalytics/shinyproxyoperator/helpers/junit/TestExecutionListener.kt index accb2cb..5d8983c 100644 --- a/src/test/kotlin/eu/openanalytics/shinyproxyoperator/helpers/junit/TestExecutionListener.kt +++ b/src/test/kotlin/eu/openanalytics/shinyproxyoperator/helpers/junit/TestExecutionListener.kt @@ -29,7 +29,9 @@ class TestExecutionListener : SummaryGeneratingListener() { init { Runtime.getRuntime().addShutdownHook(Thread { - summary.printTo(PrintWriter(System.out)) + if (summary != null) { + summary.printTo(PrintWriter(System.out)) + } }) } @@ -60,4 +62,4 @@ class TestExecutionListener : SummaryGeneratingListener() { println() } -} \ No newline at end of file +}