Skip to content

Cumulocity Release v1.4.1 #184

Cumulocity Release v1.4.1

Cumulocity Release v1.4.1 #184

Workflow file for this run

# HMS Networks Solution Center
# JUnit Test Action for Maven-based Ewon ETK Projects
# Version: 2.1
#
# This action is configured to automatically run when a push
# is made or pull request is merged to the `main` branch.
name: JUnit Test
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set Up JDK
uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: 16
- name: Cache local Maven repository
uses: actions/cache@v3
with:
path: |
~/.m2/repository
target/buildJdk
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Run JUnit Testing With Maven
run: mvn test -f pom.xml
- name: Upload Test Report(s)
uses: actions/upload-artifact@v3
with:
name: JUNIT-TEST-REPORTING-${{ github.sha }}-${{ github.event.repository.name }}
path: |
target/surefire-reports
target/site