parasoft/Run Parasoft C/C++test
A GitHub Action for running Parasoft C/C++test to ensure code quality and compliance with MISRA, AUTOSAR, CERT, and more.
View on GitHubTrust Signals
- Scorecard Score
- Scorecard 2–4scored Jul 6, 2026
- Maintenance Recency
- Activelast commit May 29, 2026
- License
- Apache 2.0
Pinned Snippet
uses: parasoft/run-cpptest-action@967bbff31e462ff0b4333b46dd5af749aec20e6d # 2.1.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| installDir | Installation folder of Parasoft C/C++test. If not specified, the cpptestcli executable must be added to $PATH. | no | — |
| workingDir | Working directory for running C/C++test. | no | ${{ github.workspace }} |
| compilerConfig | Identifier of a compiler configuration. Ensure you specify the configuration that matches your compiler. | no | gcc_9-64 |
| testConfig | Test configuration to be used for code analysis. | no | builtin://Recommended Rules |
| reportDir | Output folder for reports from code analysis. | no | reports |
| reportFormat | Format of reports from code analysis. | no | xml,html,sarif |
| input | Input scope for analysis (typically, cpptestscan.bdf or compile_commands.json, depending on the project type and the build system). | no | cpptestscan.bdf |
| additionalParams | Additional parameters for the cpptestcli executable. | no | "" |
| commandLinePattern | Command line pattern for running C/C++test. | no | ${cpptestcli} -compiler "${compilerConfig}" -config "${testConfig}" -property report.format=${reportFormat} -report "${reportDir}" -module . -input "${input}" ${additionalParams} |
Outputs
| name | description |
|---|---|
| exitCode | Exit code from the C/C++test analysis run. |