diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index a0fccc6..f786d14 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -15,6 +15,8 @@ on: permissions: contents: write + checks: write + pull-requests: write jobs: build: @@ -39,6 +41,11 @@ jobs: VERSION=$(git tag --sort=committerdate | tail -1) echo Generating API documentation for version $VERSION ./gradlew -Pversion=$VERSION dokkaHtml + - name: Publish Test Results + uses: EnricoMi/publish-unit-test-result-action@v2 + with: + files: | + build/test-results/**/*.xml - name: Deploy API documentation to Github Pages if: ${{ github.ref == 'refs/heads/master' && github.event_name != 'pull_request' }} uses: JamesIves/github-pages-deploy-action@v4