Skip to content

Commit c92c1ea

Browse files
ADD - CI_CD review (#22)
* ADD - CI_CD review * Update gradle.yml actions/upload-pages-artifact@v3.0.1 * Update gradle.yml * Update gradle.yml * Update gradle.yml test
1 parent b4eb47a commit c92c1ea

2 files changed

Lines changed: 16 additions & 7 deletions

File tree

.github/workflows/gradle.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
push:
1212
branches: [ "main" , "DEV"]
1313
pull_request:
14-
branches: [ "main" ]
14+
branches: [ "main" , "DEV"]
1515
workflow_dispatch:
1616

1717
jobs:
@@ -31,13 +31,12 @@ jobs:
3131
run: ./gradlew build --scan
3232

3333
- name: Store reports
34-
if: failure()
35-
uses: actions/upload-artifact@v3
34+
# if: failure()
35+
uses: actions/upload-pages-artifact@v3.0.1 #actions/upload-artifact@v4
3636
with:
37-
name: reports
38-
path: |
39-
**/build/reports/
40-
**/build/test-results/
37+
# name: reports
38+
path: build/reports/tests/test
39+
# **/build/test-results/
4140

4241
- name: Upload build artifacts
4342
uses: actions/upload-artifact@v4

build.gradle

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,13 @@ dependencies {
2121
testImplementation 'junit:junit:4.12'
2222
}
2323

24+
test {
25+
// testLogging.showStandardStreams = true
26+
//testLogging.exceptionFormat = 'full'
27+
testLogging {
28+
showStandardStreams = true
29+
events = ["passed", "failed", "skipped"]
30+
exceptionFormat = 'full'
31+
}
32+
}
33+

0 commit comments

Comments
 (0)