Quick Start
This tutorial will access to https://covergates.com. If you are using self-hosted version, please replace https://covergates.com/ to your self-hosted server URL.
Fundamental Workflow
-
Sign up Covergates with your GitHub or Gitea account.
-
Navigate https://covergates.com/repo to the list of your repositories.
-
Click ACTIVATE button to activate the repository for uploading coverage reports.
-
Go to SETTING tag, you can update report path filter and get your Report ID
To get more information about repository setting, please refer to Repository Setting -
Run testing for your language and generate coverage report. You can refer to Supported Language for more detail.
-
Download the latest released
covergates
command line tool for your platform. Once downloaded, the binary can run directly. You could put it to somewhere in yourPATH
. -
Upload your report by running
covergates upload
, for example:covergates upload --report <Report ID> --type go ./coverage.out
or for self-hosted server
export REPORT_ID="Report ID" export API_URL="http://your.domain.name/api/v1" covergates upload --type go ./coverage.out
You can refer to Command Line Tool for more options. -
Congratulation! Now you can navigate your repository page to see your report!