ci: allow pull request test reports
@@ -21,6 +21,8 @@ jobs:
name: Verify Build
runs-on: ubuntu-latest
if: github.repository_owner == 'Apiman'
+ permissions:
+ pull-requests: write
strategy:
matrix:
java: [ 8, 11, 16 ]
@@ -69,13 +71,12 @@ jobs:
- name: Run platform-specific integration tests (${{ matrix.integration-suite.name }})
run: ./mvnw test install -Dinvoker.skip -Dmaven.javadoc.skip=true -B ${{ matrix.integration-suite.command }}
-# Temporarily disabled until we get a GH access token with appropriate permissions onto secrets.
-# - name: Publish Test Report
-# if: ${{ always() }}
-# uses: mikepenz/action-junit-report@v2
-# with:
-# report_paths: '**/build/test-results/test/TEST-*.xml'
-# github_token: ${{ secrets.GITHUB_TOKEN }}
+ - name: Publish Test Report
+ if: ${{ always() }}
+ uses: mikepenz/action-junit-report@v2
+ with:
+ report_paths: '**/build/test-results/test/TEST-*.xml'
+ github_token: ${{ secrets.GITHUB_TOKEN }}
e2e:
name: Cypress end-to-end testing
