Skip to content

Commit f21d9e5

Browse files
committed
Update actions and dependabot settings.
Signed-off-by: Olga Maciaszek-Sharma <olga.maciaszek-sharma@broadcom.com>
1 parent a9b694c commit f21d9e5

2 files changed

Lines changed: 13 additions & 8 deletions

File tree

.github/dependabot.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,6 @@ updates:
5858
schedule:
5959
interval: daily
6060
target-branch: main
61-
# ignore:
62-
# # only upgrade by minor or patch
63-
# - dependency-name: "*"
64-
# update-types:
65-
# - version-update:semver-major
6661
- package-ecosystem: npm
6762
target-branch: docs-build
6863
directory: /

.github/workflows/maven.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ name: Build
55

66
on:
77
push:
8-
branches: [ main, 3.1.x, 3.0.x ]
8+
branches: [ main, 4.3.x, 4.2.x, 4.1.x ]
99
pull_request:
10-
branches: [ main, 3.1.x, 3.0.x ]
10+
branches: [ main, 4.3.x, 4.2.x, 4.1.x ]
1111

1212
jobs:
1313
build:
@@ -29,4 +29,14 @@ jobs:
2929
restore-keys: |
3030
${{ runner.os }}-maven-
3131
- name: Build with Maven
32-
run: ./mvnw clean install -B -U -Pspring,integration,docs
32+
run: ./mvnw -s .settings.xml clean org.jacoco:jacoco-maven-plugin:prepare-agent install -U -B -Psonar,spring,integration -nsu --batch-mode -Dmaven.test.redirectTestOutputToFile=true -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
33+
- name: Publish Test Report
34+
uses: mikepenz/action-junit-report@v5
35+
if: always() # always run even if the previous step fails
36+
with:
37+
report_paths: '**/surefire-reports/TEST-*.xml'
38+
- name: Archive code coverage results
39+
uses: actions/upload-artifact@v4
40+
with:
41+
name: surefire-reports
42+
path: '**/surefire-reports/*'

0 commit comments

Comments
 (0)