To activate continuous analysis on more repositories, follow these steps:

  1. Go to the dashboard and click on “Activate new repo” on the sidebar.
  1. A list of all the repositories synced with your VCS account will appear on the screen.
  1. Select the repository you want, and the configuration generator will appear.
  2. Select the Analyzers you want to enable based on your requirements. You can read more about the configuration options for each Analyzer here.
  1. Once you’ve selected the Analyzers you want, DeepSource will generate a .deepsource.toml file that serves as the analysis configuration’s source of truth.

The analysis configuration for a repository on DeepSource is defined in a .deepsource.toml file in the repository’s root. This file must be present at the said location for analysis to be run.

  1. In the ‘Test file patterns’ section, you can add a list of glob patterns to identify as test files. This will help reduce the number of false positive issues after analysis.
  2. In the ‘Exclude file patterns’ section, you can add a list of glob patterns to exclude certain files from analysis, such as generated binaries, minified JavaScript code, and third-party modules.
  1. Based on your repository’s branch permissions, you can directly commit the .deepsource.toml file to your default branch from DeepSource, create a pull request that you can merge from your VCS provider, or manually add this file in your repository’s root.
  2. Once the file has been committed, the analysis will run on the default branch of the repository and analyze all the files.