Skip to content

Split out new publish-test-results GitHub Action #3

Split out new publish-test-results GitHub Action

Split out new publish-test-results GitHub Action #3

Workflow file for this run

name: Run Tests
on: [push, pull_request, workflow_dispatch]
jobs:
build-test:
name: "Run Tests"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 21
check-latest: true
cache: gradle
- name: Build and test
run: ./gradlew build --no-daemon --warning-mode all
# Per the advice from:
# - https://github.com/marketplace/actions/test-reporter
- name: Upload test results
uses: actions/upload-artifacts@v3
if: always()
with:
name: test-results
path: '**/build/test-results/test*/TEST-*.xml'