chore(GH actions): add test report #375
Workflow file for this run
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
name: Build Bonita Community | |
on: | |
push: | |
branches: | |
- dev | |
pull_request: | |
types: [ opened, synchronize, reopened ] | |
jobs: | |
build-bonita-community: | |
runs-on: ubuntu-latest | |
steps: | |
- name: ↙️ Checkout project sources | |
uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: temurin | |
java-version: 17 | |
- name: 🔧 Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
cache-read-only: false | |
- name: ⚙️ Run Community build & ✔️ unit tests | |
run: ./gradlew build | |
- name: 🚀 Publish Test Report | |
uses: EnricoMi/publish-unit-test-result-action@v2 | |
if: always() | |
with: | |
files: '**/build/test-results/**/*.xml' |