{"id":15021080,"url":"https://github.com/scacap/action-surefire-report","last_synced_at":"2026-04-22T09:05:47.484Z","repository":{"id":38382829,"uuid":"263035471","full_name":"ScaCap/action-surefire-report","owner":"ScaCap","description":"Reports surefire test results as GitHub Pull Request Check","archived":false,"fork":false,"pushed_at":"2025-05-01T10:07:16.000Z","size":2355,"stargazers_count":91,"open_issues_count":31,"forks_count":60,"subscribers_count":24,"default_branch":"master","last_synced_at":"2025-05-15T09:06:52.664Z","etag":null,"topics":["github-actions","go","gradle","maven","python"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ScaCap.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-05-11T12:26:25.000Z","updated_at":"2025-04-09T11:08:47.000Z","dependencies_parsed_at":"2024-08-18T00:14:12.241Z","dependency_job_id":"3683049a-1dde-4e55-a50f-319df0427cf1","html_url":"https://github.com/ScaCap/action-surefire-report","commit_stats":{"total_commits":96,"total_committers":13,"mean_commits":7.384615384615385,"dds":0.5729166666666667,"last_synced_commit":"87fddf2d4c5fa880f4f758f1cbf098b5a84bebd2"},"previous_names":[],"tags_count":33,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScaCap%2Faction-surefire-report","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScaCap%2Faction-surefire-report/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScaCap%2Faction-surefire-report/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScaCap%2Faction-surefire-report/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ScaCap","download_url":"https://codeload.github.com/ScaCap/action-surefire-report/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254310515,"owners_count":22049469,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["github-actions","go","gradle","maven","python"],"created_at":"2024-09-24T19:56:06.674Z","updated_at":"2026-04-22T09:05:42.448Z","avatar_url":"https://github.com/ScaCap.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Action: Process maven surefire reports\n\n![](https://github.com/scacap/action-surefire-report/workflows/build/badge.svg)\n\n\nThis action processes maven surefire or failsafe XML reports on pull requests and shows the result as a PR check with summary and annotations.\n\n![Screenshot](./screenshot.png)\n\n## Inputs\n\n### `report_paths`\n\nOptional. [Glob](https://github.com/actions/toolkit/tree/master/packages/glob) expression to surefire or failsafe report paths. The default is `**/surefire-reports/TEST-*.xml`.\n\n### `create_check`\n\nOptional. Set to `false` to add annotations to the current job where this action is being executed. The default is `true`.\n\n### `check_name`\n\nOptional. Check name to use when creating a check run. The default is `Test Report`.\n\n### `commit`\n\nOptional. The commit sha to update the status. This is useful when you run it with `workflow_run`.\n\n### `fail_on_test_failures`\n\nOptional. Check will fail if there are test failures. The default is `false`.\n\n### `fail_if_no_tests`\n\nOptional. Check will fail if no tests were found. The default is `true`.\n\n### `ignore_flaky_tests`\n\nOptional. Set to `true` to consider flaky tests as success. The default is `false`.\n\n### `skip_publishing`\n\nOptional. Skip the test report publishing (check run creation). The default is `false`.\n\n### `github_token`\n\nOptional. Usually in form of `github_token: ${{ secrets.GITHUB_TOKEN }}`. The default is `${{ github.token }}`.\n\n### `file_name_in_stack_trace`\n\nOptional. Set to `true` to get the file name from the stack trace. The default is `false`.\n\n### `github_base_url`\n\nOptional: If you use GitHub Enterprise, you can set this to the URL of your server (e.g. https://github.myorg.com/api/v3).\n\n\n## Example usage\n\n```yml\nname: build\non:\n  pull_request:\n\njobs:\n  build:\n    name: Build and Run Tests\n    runs-on: ubuntu-latest\n    # Permissions block is optional, useful for dependabot checks\n    permissions:\n      checks: write\n      contents: read\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n      - name: Build and Run Tests\n        run: mvn test --batch-mode --fail-at-end\n      - name: Publish Test Report\n        if: success() || failure()\n        uses: scacap/action-surefire-report@v1\n```\n\n## Tips for Gradle\n\nAs Gradle uses a different build directory than Maven by default, you might need to set the `report_paths` variable:\n\n```yaml\n    report_paths: '**/build/test-results/test/TEST-*.xml'\n```\n\nYou also need to enable JUnit XML reports as shown below.\n\n```groovy\ntest {\n  reports {\n    junitXml.enabled = true\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscacap%2Faction-surefire-report","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscacap%2Faction-surefire-report","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscacap%2Faction-surefire-report/lists"}