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 GitHub

Trust Signals

Scorecard Score
Scorecard 2–4scored Jul 6, 2026
Maintenance Recency
Activelast commit May 29, 2026
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: parasoft/run-cpptest-action@967bbff31e462ff0b4333b46dd5af749aec20e6d # 2.1.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
installDirInstallation folder of Parasoft C/C++test. If not specified, the cpptestcli executable must be added to $PATH.no
workingDirWorking directory for running C/C++test.no${{ github.workspace }}
compilerConfigIdentifier of a compiler configuration. Ensure you specify the configuration that matches your compiler.nogcc_9-64
testConfigTest configuration to be used for code analysis.nobuiltin://Recommended Rules
reportDirOutput folder for reports from code analysis.noreports
reportFormatFormat of reports from code analysis.noxml,html,sarif
inputInput scope for analysis (typically, cpptestscan.bdf or compile_commands.json, depending on the project type and the build system).nocpptestscan.bdf
additionalParamsAdditional parameters for the cpptestcli executable.no""
commandLinePatternCommand line pattern for running C/C++test.no${cpptestcli} -compiler "${compilerConfig}" -config "${testConfig}" -property report.format=${reportFormat} -report "${reportDir}" -module . -input "${input}" ${additionalParams}
namedescription
exitCodeExit code from the C/C++test analysis run.