From 4823203a566cc2f7d044989e47c15bef516ccf3a Mon Sep 17 00:00:00 2001 From: ds58 <30220598+ds58@users.noreply.github.com> Date: Tue, 10 Sep 2024 13:05:13 -0500 Subject: [PATCH] Update workflow --- .github/workflows/gradle-test.yml | 40 +++++-------------------------- 1 file changed, 6 insertions(+), 34 deletions(-) diff --git a/.github/workflows/gradle-test.yml b/.github/workflows/gradle-test.yml index 61513434..3a1f3a6b 100644 --- a/.github/workflows/gradle-test.yml +++ b/.github/workflows/gradle-test.yml @@ -1,44 +1,16 @@ -name: Automated Tests +name: Gradle test on: + workflow_dispatch: push: - branches: [ "develop" ] + branches: + - develop pull_request: - branches: [ "develop" ] - workflow_dispatch: permissions: checks: write contents: read jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - - - name: Setup JDK 17 - uses: actions/setup-java@v4 - with: - distribution: 'temurin' - java-version: '17' - - - name: Setup Gradle - uses: gradle/actions/setup-gradle@v3 - - - name: Run Tests - run: gradle test - - - name: Print Test Results - run: gradle printJUnitXMLs - - - name: Publish Test Report - uses: mikepenz/action-junit-report@v4 - if: success() || failure() # always run even if the previous step fails - with: - report_paths: '**/build/test-results/test/TEST-*.xml' - detailed_summary: true - require_passed_tests: true - annotate_only: true \ No newline at end of file + gradle-test: + uses: ihmcrobotics/ihmc-actions/.github/workflows/gradle-test.yml@main