{"id":16835249,"url":"https://github.com/pedrotroller/circleci-parallel-builder","last_synced_at":"2025-07-09T01:05:32.169Z","repository":{"id":57037454,"uuid":"48693982","full_name":"PedroTroller/CircleCI-Parallel-Builder","owner":"PedroTroller","description":"Easy way to build parallel sets of tests for Circle CI","archived":false,"fork":false,"pushed_at":"2016-01-07T18:24:48.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T02:25:56.179Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PedroTroller.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-12-28T13:32:15.000Z","updated_at":"2015-12-28T13:32:31.000Z","dependencies_parsed_at":"2022-08-24T05:51:08.774Z","dependency_job_id":null,"html_url":"https://github.com/PedroTroller/CircleCI-Parallel-Builder","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/PedroTroller/CircleCI-Parallel-Builder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PedroTroller%2FCircleCI-Parallel-Builder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PedroTroller%2FCircleCI-Parallel-Builder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PedroTroller%2FCircleCI-Parallel-Builder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PedroTroller%2FCircleCI-Parallel-Builder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PedroTroller","download_url":"https://codeload.github.com/PedroTroller/CircleCI-Parallel-Builder/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PedroTroller%2FCircleCI-Parallel-Builder/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264373758,"owners_count":23598078,"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":[],"created_at":"2024-10-13T12:09:29.996Z","updated_at":"2025-07-09T01:05:32.079Z","avatar_url":"https://github.com/PedroTroller.png","language":"PHP","readme":"## CircleCI-Parallel-Builder\n*Easy way to build parallel sets of tests for Circle CI*\n\n### Pitch\nThis tool will create test suites for you. It's made for circle-ci but you can use it with other tools.\n\n### Installation\n```bash\ncomposer require pedrotroller/circle-parallel-tests-builder --dev\n```\nA binary file (`circle-tests`) have been added to your binary directory.\n\n### Configuration\nYou just have to create a file named `circle-tests.yml` into your project root directory and follow this pattern : \n```yml\n\"\u003cmy_test\u003e\": \u003cweigth\u003e\n\"\u003cmy_test\u003e\": \u003cweigth\u003e\n\"\u003cmy_test\u003e\": \u003cweigth\u003e\n```\nWhere `my_test` is the command to execute, and `weigth` is a number representing the weigth of the execution of your command (can be the duration for exemple).\n\n### Usage\nYou can display suites by using the following command : \n```bash\n./bin/circle-tests display -t 3 # Will split your tests into 3 suites\n```\nYou can launch a suite by using the following command : \n```bash\n./bin/circle-tests -i 0 -t 3 # -i represent the index (0 based) of the desired suite\n```\n\n### Circle-CI use case\n```yml\n# ./circle-tests.yml\n'bin/behat --no-snippets --tags=~disabled --verbose features/api': 21\n'bin/behat --no-snippets --tags=~disabled --verbose features/manager': 50\n'bin/phpspec run -fpretty --verbose': 1\n'bin/install dev demo': 4\n'bin/install prod \u0026\u0026 app/console doctrine:schema:validate -e=prod': 2\n```\n```yml\n# ./circle.yml\ngeneral: # ...\n\nmachine: # ...\n\ndependencies: # ...\n\ntest:\n    override:\n        - bin/circle-tests run --index=$CIRCLE_NODE_INDEX --total=$CIRCLE_NODE_TOTAL:\n            parallel: true\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedrotroller%2Fcircleci-parallel-builder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpedrotroller%2Fcircleci-parallel-builder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedrotroller%2Fcircleci-parallel-builder/lists"}