Skip to content

Commit 564fca0

Browse files
committed
Adjust workflow triggers and uploads
1 parent ef41468 commit 564fca0

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.github/workflows/csv-coverage.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ on:
99
paths:
1010
- '.github/workflows/csv-coverage.yml'
1111
- 'misc/scripts/generate-csv-coverage-report.py'
12+
- 'misc/scripts/cwe-sink-*.csv'
13+
- 'misc/scripts/frameworks-*.csv'
14+
- 'java/ql/src/meta/frameworks/Coverage.ql'
1215

1316
jobs:
1417
build:
@@ -36,9 +39,16 @@ jobs:
3639
- name: Build modeled package list
3740
run: |
3841
PATH="$PATH:codeql-cli/codeql" python codeql/misc/scripts/generate-csv-coverage-report.py codeql
39-
- name: Upload modeled package list
42+
- name: Upload CSV package list
4043
uses: actions/upload-artifact@v2
4144
with:
4245
name: csv-flow-model-coverage
4346
path: csv-flow-model-coverage-*.csv
47+
- name: Upload RST package list
48+
uses: actions/upload-artifact@v2
49+
with:
50+
name: rst-flow-model-coverage
51+
path: |
52+
flow-model-coverage.rst
53+
rst-csv-flow-model-coverage-*.csv
4454

misc/scripts/generate-csv-coverage-report.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def __init__(self, lang, capitalized_lang, ext, ql_path):
112112
"java", "Java", ".java", prefix + "java/ql/src/meta/frameworks/Coverage.ql")
113113
]
114114

115-
with open("csv-flow-model-coverage.rst", 'w') as rst_file:
115+
with open("flow-model-coverage.rst", 'w') as rst_file:
116116
for config in configs:
117117
lang = config.lang
118118
db = "empty-" + lang

0 commit comments

Comments
 (0)