Continuous Integration (CI) Tools
Request early access
This page describes features that are in private beta. Request early access to get them sooner.
Qlty CLI integrates seamless into your CI/CD pipeline. Below are templates for popular CI/CD providers to help you get started.
Your project’s code coverage settings page provides specific examples per language to suit your needs.
Github Actions
Use Qlty’s official Github Action.
Circle CI
Integrate it into your .circleci/config.yml
file.
Travis
Add it to your .travis.yml
.
Buildkite
Add it to your pipeline.yml
.
Other CI systems
For uploading a code coverage report from virtually any location:
Locate the coverage report generated by your code coverage tool. This report is typically part of the output from running automated tests, such as unit tests, configured to monitor code coverage.
Retrieve your Qlty coverage token
from your project’s settings page under the Code Coverage
section.
Use the Qlty CLI to upload your report:
- Upload your code coverage report
Checkout the coverage publish
command’s documentation for more information.
Qlty CLI will attempt to infer the git commit SHA and branch from the environment. If it cannot determine this, it will prompt you for manual specification, which can be achieved using the --override-commit-sha
and --override-branch
configuration flags.ps>
For a full list of options to configure your coverage upload, run the following command: qlty coverage publish --help