Skip to content

Commit

Permalink
Merge pull request #6 from mnbjhu/adding_test_publishing
Browse files Browse the repository at this point in the history
Adding test result publishing
  • Loading branch information
mnbjhu committed Aug 22, 2023
2 parents abbfafd + a39f02b commit 865e6ff
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ on:

permissions:
contents: write
checks: write
pull-requests: write

jobs:
build:
Expand All @@ -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
Expand Down

0 comments on commit 865e6ff

Please sign in to comment.