jbzoo / toolbox-ci
Toolbox for continuous integration system
Installs: 18 880
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=7.2
- ext-dom: *
- ext-simplexml: *
- jbzoo/data: ^4.2.1
- jbzoo/utils: ^4.3.0
- symfony/console: >=4.4
Requires (Dev)
- jbzoo/mermaid-php: ^2.2.0
- jbzoo/toolbox-dev: ^2.11.0
- roave/security-advisories: dev-master
README
Installing
composer require jbzoo/toolbox-ci # OR use phar file. # Replace <VERSION> to the latest version. See releases page or badge above wget https://github.com/JBZoo/Toolbox-CI/releases/download/<VERSION>/toolbox-ci.phar
Usage
$ php ./vendor/bin/toolbox-ci convert --help
Description:
Convert one report format to another
Usage:
convert [options]
Options:
-S, --input-format=INPUT-FORMAT Source format. Available options: checkstyle, github-cli, junit, phpmd-json, phpmnd, psalm-json, tc-inspections, tc-tests
-T, --output-format=OUTPUT-FORMAT Target format. Available options: checkstyle, github-cli, junit, phpmd-json, phpmnd, psalm-json, tc-inspections, tc-tests
-N, --suite-name=SUITE-NAME Set name of root suite
-I, --input-file[=INPUT-FILE] Use CLI input (STDIN, pipeline) OR use the option to define filename of source report
-O, --output-file[=OUTPUT-FILE] Use CLI output (STDOUT, pipeline) OR use the option to define filename with result
-R, --root-path[=ROOT-PATH] If option is set all absolute file paths will be converted to relative
-F, --tc-flow-id[=TC-FLOW-ID] Custom flowId for TeamCity output
-h, --help Display this help message
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi Force ANSI output
--no-ansi Disable ANSI output
-n, --no-interaction Do not ask any interactive question
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
Available Directions
php ./vendor/bin/toolbox-ci convert:map
Source/Target | CheckStyle.xml | GitHub Actions - CLI | JUnit.xml | PHPmd.json | PHPmnd.xml | Psalm.json | TeamCity - Inspections | TeamCity - Tests |
---|---|---|---|---|---|---|---|---|
CheckStyle.xml | - | Yes | Yes | - | - | - | Yes | Yes |
GitHub Actions - CLI | - | - | - | - | - | - | - | - |
JUnit.xml | - | Yes | Yes | - | - | - | Yes | Yes |
PHPmd.json | - | Yes | Yes | - | - | - | Yes | Yes |
PHPmnd.xml | - | Yes | Yes | - | - | - | Yes | Yes |
Psalm.json | - | Yes | Yes | - | - | - | Yes | Yes |
TeamCity - Inspections | - | - | - | - | - | - | - | - |
TeamCity - Tests | - | - | - | - | - | - | - | - |
Unit tests and check code style
make build make test-all
License
MIT