зеркало из https://github.com/github/codeql.git
Rename framework coverage query
Move it to the other summary queries, update all references.
This commit is contained in:
Родитель
85a8efab63
Коммит
ff8a96b96d
|
@ -31,7 +31,7 @@ jobs:
|
|||
- name: Capture coverage information
|
||||
run: |
|
||||
DATABASE="${{ runner.temp }}/java-database"
|
||||
codeql database analyze --format=sarif-latest --output=metrics.sarif -- "$DATABASE" ./java/ql/src/Diagnostics/CoverageDiagnostics.ql
|
||||
codeql database analyze --format=sarif-latest --output=metrics.sarif -- "$DATABASE" ./java/ql/src/Metrics/Summaries/FrameworkCoverage.ql
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: metrics.sarif
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
/**
|
||||
* @name Diagnostics for framework coverage
|
||||
* @description Expose diagnostics for the number of API endpoints covered by CSV models.
|
||||
* @id java/summary/framework-coverage
|
||||
* @name Metrics of framework coverage
|
||||
* @description Expose metrics for the number of API endpoints covered by CSV models.
|
||||
* @kind metric
|
||||
* @tags summary
|
||||
* @id java/diagnostics/framework-coverage
|
||||
*/
|
||||
|
||||
import java
|
|
@ -26,4 +26,4 @@
|
|||
- exclude:
|
||||
query path:
|
||||
- /^experimental\/.*/
|
||||
- Diagnostics/CoverageDiagnostics.ql
|
||||
- Metrics/Summaries/FrameworkCoverage.ql
|
||||
|
|
|
@ -24,4 +24,4 @@
|
|||
- exclude:
|
||||
query path:
|
||||
- /^experimental\/.*/
|
||||
- Diagnostics/CoverageDiagnostics.ql
|
||||
- Metrics/Summaries/FrameworkCoverage.ql
|
||||
|
|
|
@ -27,5 +27,5 @@
|
|||
- exclude:
|
||||
query path:
|
||||
- /^experimental\/.*/
|
||||
- Diagnostics/CoverageDiagnostics.ql
|
||||
- Metrics/Summaries/FrameworkCoverage.ql
|
||||
|
||||
|
|
|
@ -32,4 +32,4 @@
|
|||
- exclude:
|
||||
query path:
|
||||
- /^experimental\/.*/
|
||||
- Diagnostics/CoverageDiagnostics.ql
|
||||
- Metrics/Summaries/FrameworkCoverage.ql
|
||||
|
|
Загрузка…
Ссылка в новой задаче