From 55cfa801f3cb1f5c902bad4ec7aa0e000e99561e Mon Sep 17 00:00:00 2001 From: james Date: Tue, 22 Aug 2023 14:13:54 +0100 Subject: [PATCH 1/2] Adding test result publishing --- .github/workflows/gradle.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index a0fccc6..f0bda4b 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -39,6 +39,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 From a39f02b525148b52d421d462fb59571f723efe9a Mon Sep 17 00:00:00 2001 From: james Date: Tue, 22 Aug 2023 14:17:06 +0100 Subject: [PATCH 2/2] Updating permissions --- .github/workflows/gradle.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index f0bda4b..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: