go.mondoo.com/cnquery@v0.0.0-20231005093811-59568235f6ea/.github/workflows/test-report.yml (about)

     1  
     2  name: 'Test Report'
     3  on:
     4    workflow_run:
     5      workflows: ['Code Test'] # runs after tests
     6      types:
     7        - completed
     8  jobs:
     9    report:
    10      permissions:
    11        actions: read  # Required to read the artifact
    12        contents: read # Required to read the source
    13        checks: write  # Required to write the results
    14      runs-on: ubuntu-latest
    15      steps:
    16      - uses: dorny/test-reporter@v1
    17        with:
    18          artifact: test-results
    19          name: Report test results
    20          path: '*.xml'                     # Path to test results (inside artifact .zip)
    21          reporter: java-junit              # Format of test results