Skip to content

Commit

Permalink
Updating the CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
SylvainBertrand committed Feb 9, 2024
1 parent cd182a2 commit 4b7cf8b
Showing 1 changed file with 23 additions and 16 deletions.
39 changes: 23 additions & 16 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
workflow_dispatch:

permissions:
checks: write
contents: read

jobs:
Expand All @@ -16,19 +17,25 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Setup JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'

- name: Setup Gradle
uses: gradle/gradle-build-action@v2
id: setup-gradle
with:
gradle-version: 8.5

- name: Execute Gradle test
run: gradle test
- uses: actions/checkout@v4

- name: Setup JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'

- name: Setup Gradle
uses: gradle/gradle-build-action@v2
id: setup-gradle
with:
gradle-version: 8.5

- name: Execute Gradle test
run: gradle test
- 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

0 comments on commit 4b7cf8b

Please sign in to comment.