{"id":18648632,"url":"https://github.com/buildpulse/test-reporter","last_synced_at":"2025-04-11T14:31:14.267Z","repository":{"id":39126805,"uuid":"280914963","full_name":"buildpulse/test-reporter","owner":"buildpulse","description":"Connect your CI to BuildPulse to automatically detect, track, and rank flaky tests","archived":false,"fork":false,"pushed_at":"2024-05-01T03:29:51.000Z","size":504,"stargazers_count":8,"open_issues_count":6,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-25T14:43:38.980Z","etag":null,"topics":["ci","continuous-integration","flake-detection"],"latest_commit_sha":null,"homepage":"https://buildpulse.io","language":"Go","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/buildpulse.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-19T17:22:27.000Z","updated_at":"2023-06-08T01:12:14.000Z","dependencies_parsed_at":"2023-11-06T06:22:59.997Z","dependency_job_id":"7d2d736c-61ff-4d12-9ded-6f67cfeb13cb","html_url":"https://github.com/buildpulse/test-reporter","commit_stats":null,"previous_names":[],"tags_count":69,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildpulse%2Ftest-reporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildpulse%2Ftest-reporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildpulse%2Ftest-reporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildpulse%2Ftest-reporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buildpulse","download_url":"https://codeload.github.com/buildpulse/test-reporter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248419667,"owners_count":21100220,"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":["ci","continuous-integration","flake-detection"],"created_at":"2024-11-07T06:32:59.786Z","updated_at":"2025-04-11T14:31:09.234Z","avatar_url":"https://github.com/buildpulse.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BuildPulse Test Reporter [![MIT license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/buildpulse/test-reporter/master/LICENSE)\n\nThe BuildPulse test reporter is a binary that connects your continuous integration (CI) to [buildpulse.io][] to help you find and [fix flaky tests](https://buildpulse.io/products/flaky-tests).\n\nGet started at [buildpulse.io][].\n\n## Setup\n\nInstall goreleaser to build\n```\nbrew install goreleaser/tap/goreleaser upx\n```\n\n## Build\nThe following will build the binary.\n```\n./script/build-snapshot\n```\n\nThe binary can be found in `./dist`. The following platforms + architectures are supported:\n\n- Darwin / Mac OS (amd64, arm64)\n- Windows (amd64)\n- Linux (amd64, arm64)\n  - Ubuntu\n  - Debian\n  - Fedora\n  - CentOS\n  - RedHat\n  - Alpine\n\n## Natively Supported CI Providers\nWe are able to infer the required environment variables from the following CI providers:\n\n  - Github Actions\n  - BuildKit\n  - CircleCI\n  - Github Actions\n  - Jenkins\n  - Semaphore\n  - Travis CI\n  - Webapp.io\n  - AWS CodeBuild\n  - BitBucket Pipelines\n  - Azure DevOps Pipelines\n\n## Other CI Providers / Standalone Usage\nTo use `test-reporter` with another CI provider, the following environment variables must be set:\n\n| Environment Variable | Description                                                        |\n|----------------------|--------------------------------------------------------------------|\n| `GIT_COMMIT`         | Git commit SHA                                                     |\n| `GIT_BRANCH`         | Git branch of the build, or PR number                              |\n| `BUILD_URL`          | URL of the build. If running locally, set as `https://example.com` |\n| `ORGANIZATION_NAME`  | Name of the Github organization                                    |\n| `REPOSITORY_NAME`    | Name of the repository                                             |\n\nThe following are flags that can be set. Make sure to **set flags after CLI args**.\n| Flag                 | Required                          | Description                                     |\n|----------------------|-----------------------------------|-------------------------------------------------|\n| `account-id`         |   ✓                               | BuildPulse account ID (see dashboard)           |\n| `repository-id`      |   ✓                               | BuildPulse repository ID (see dashboard)        |\n| `repository-dir`     | Only if `tree` not set            | Path to repository directory                    |\n| `tree`               | Only if `repository-dir` not set  | Git tree SHA                                    |\n| `coverage-files`     | Only if using BuildPulse Coverage | **Space-separated** paths to coverage files.    |\n| `tags`               |                                   | **Space-separated** tags to apply to the build. |\n| `quota-id`           |                                   | ID of the quota to apply upload to. Quotas can be set from the BuildPulse Dashboard. |\n\nExample:\n```\nBUILDPULSE_ACCESS_KEY_ID=$INPUT_KEY \\\nBUILDPULSE_SECRET_ACCESS_KEY=$INPUT_SECRET \\\nGIT_COMMIT=$GIT_COMMIT \\\nGIT_BRANCH=$GIT_BRANCH \\\nBUILD_URL=$BUILD_URL \\\nORGANIZATION_NAME=$ORGANIZATION_NAME \\\nREPOSITORY_NAME=$REPOSITORY_NAME \\\n./buildpulse-test-reporter submit $REPORT_PATH --account-id $ACCOUNT_ID --repository-id $REPOSITORY_ID --repository-dir $REPOSITORY_PATH\n```\n\n[buildpulse.io]: https://buildpulse.io?utm_source=github.com\u0026utm_campaign=tool-repositories\u0026utm_content=test-reporter-text-link\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuildpulse%2Ftest-reporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuildpulse%2Ftest-reporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuildpulse%2Ftest-reporter/lists"}