Skip to content

Refactor odh-e2e to use test-frame and avoid duplication of code #416

Refactor odh-e2e to use test-frame and avoid duplication of code

Refactor odh-e2e to use test-frame and avoid duplication of code #416

Workflow file for this run

name: UnitTest
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
- name: Cache m2 repo
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Validate with Maven
run: mvn test
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}