Skip to content

Commit

Permalink
fix coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
Kr0nox committed Jan 30, 2025
1 parent 336700e commit 9c9966d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/scripts/checkCoverage.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ def extract_artifact_id(xml):
root = ET.fromstring(xml)
return root.find("{http://maven.apache.org/POM/4.0.0}artifactId").text

excluded_artifacts = ["coverage-report", "aggregator", "languages"]
artifact_ids = [extract_artifact_id(get_file_content(file)) for file in get_all_pom_files()]
print("All artifacts: " + str(artifact_ids))
filtered_artifact_ids = [artifact_id for artifact_id in artifact_ids if "aggregator" not in artifact_id.lower() and "coverage-report" not in artifact_id.lower()]
filtered_artifact_ids = [artifact_id for artifact_id in artifact_ids if artifact_id not in excluded_artifacts]

coverage_report_pom = ""
with open("../../../coverage-report/pom.xml", "r") as f:
Expand Down
10 changes: 10 additions & 0 deletions coverage-report/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,16 @@
<artifactId>llvmir</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>de.jplag</groupId>
<artifactId>javascript</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>de.jplag</groupId>
<artifactId>multi-language</artifactId>
<version>${revision}</version>
</dependency>
</dependencies>
<build>
<plugins>
Expand Down

0 comments on commit 9c9966d

Please sign in to comment.