Skip to content

Commit

Permalink
Include the TypeContext in the classical ruling test.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdodinh committed Feb 18, 2024
1 parent 1798c05 commit b9a8984
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
class PythonRulingTest {

public static final String PROJECT_KEY = "project";
private final String JSON_PATH_PREFIX = "/Users/jeremi.dodinh/Documents/repositories/sonar-python/its/ruling/src/test/resources/types/";

@RegisterExtension
public static final OrchestratorExtension ORCHESTRATOR = getOrchestrator();
Expand Down Expand Up @@ -76,7 +77,9 @@ void test() throws Exception {
.setProperty("sonar.cpd.exclusions", "**/*")
.setProperty("sonar.lits.differences", litsDifferencesFile.getAbsolutePath())
.setProperty("sonar.internal.analysis.failFast", "true")
.setEnvironmentVariable("SONAR_RUNNER_OPTS", "-Xmx2000m");
.setEnvironmentVariable("SONAR_RUNNER_OPTS", "-Xmx2000m")
.setEnvironmentVariable("SONAR_TYPE_INFERENCE_FILE", JSON_PATH_PREFIX + "sources.json");

ORCHESTRATOR.executeBuild(build);

String issueDifferences = issues(PROJECT_KEY).stream()
Expand Down

0 comments on commit b9a8984

Please sign in to comment.