diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 6acf010..2a22263 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -11,7 +11,7 @@ on: push: branches: [ "main" , "DEV"] pull_request: - branches: [ "main" ] + branches: [ "main" , "DEV"] workflow_dispatch: jobs: @@ -31,13 +31,12 @@ jobs: run: ./gradlew build --scan - name: Store reports - if: failure() - uses: actions/upload-artifact@v3 +# if: failure() + uses: actions/upload-pages-artifact@v3.0.1 #actions/upload-artifact@v4 with: - name: reports - path: | - **/build/reports/ - **/build/test-results/ +# name: reports + path: build/reports/tests/test +# **/build/test-results/ - name: Upload build artifacts uses: actions/upload-artifact@v4 diff --git a/build.gradle b/build.gradle index 1e03af5..c28e544 100644 --- a/build.gradle +++ b/build.gradle @@ -21,3 +21,13 @@ dependencies { testImplementation 'junit:junit:4.12' } +test { + // testLogging.showStandardStreams = true + //testLogging.exceptionFormat = 'full' + testLogging { + showStandardStreams = true + events = ["passed", "failed", "skipped"] + exceptionFormat = 'full' + } +} +