-
Notifications
You must be signed in to change notification settings - Fork 260
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Mandy Chessell <mandy.e.chessell@gmail.com>
- Loading branch information
1 parent
dbfd1ad
commit 207bb6b
Showing
1 changed file
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# Copyright Contributors to the ODPi Egeria project. | ||
--- | ||
name: "Verify PR v4" | ||
|
||
on: | ||
pull_request: | ||
branches: [main, egeria-release-4*] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
name: "Verify PR v4" | ||
if: startsWith(github.repository,'odpi/') | ||
steps: | ||
- uses: actions/checkout@v4.1.0 | ||
- uses: gradle/wrapper-validation-action@v2 | ||
- name: Set up JDK | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '17' | ||
- name: Build with Gradle | ||
uses: gradle/gradle-build-action@v3 | ||
with: | ||
# Only cache for main build | ||
cache-read-only: true | ||
arguments: | | ||
build | ||
--scan | ||
- name: Upload Test coverage report | ||
uses: actions/upload-artifact@v4.3.1 | ||
with: | ||
name: Jacoco Coverage Report | ||
path: build/reports/jacoco/codeCoverageReport | ||
- name: Upload Log of any dependency failures | ||
uses: actions/upload-artifact@v4.3.1 | ||
with: | ||
name: Dependency Analysis Report (on failure) | ||
path: build/reports/dependency-analysis/build-health-report.txt | ||
if-no-files-found: ignore |