Skip to content

refactor: github action push test results #44

refactor: github action push test results

refactor: github action push test results #44

Workflow file for this run

name: Java Gradle Build and Test
on:
push:
branches:
- master
- staging
pull_request:
branches:
- master
- staging
jobs:
build:
name: Build and Test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'corretto'
- name: Build and Test with Gradle
run: ./gradlew build
- name: HTML Preview
id: html_preview
uses: pavi2410/html-preview-action@v2
with:
html_file: 'sdk-java/build/reports/tests/test/index.html'