Skip to content

Commit

Permalink
ci: fix test-reporter workflow (#272)
Browse files Browse the repository at this point in the history
* Fix test-reporter workflow

* add permission
  • Loading branch information
reakaleek authored Sep 12, 2024
1 parent 96f3daf commit 400368d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/test-reporter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@ on:
permissions:
contents: read
actions: read
checks: write

jobs:
report:
runs-on: ubuntu-latest
steps:
- uses: elastic/apm-pipeline-library/.github/actions/test-report@current
- uses: elastic/oblt-actions/test-report@v1
with:
artifact: test-results # artifact name
name: JUnit Tests # Name of the check run which will be created
artifact: /test-results(.*)/ # artifact name pattern
name: 'Test Report $1' # Name of the check run which will be created
path: "**/*.xml" # Path to test results (inside artifact .zip)
reporter: java-junit # Format of test results

0 comments on commit 400368d

Please sign in to comment.