mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Change artifact names
This commit is contained in:
@@ -36,6 +36,6 @@ jobs:
|
||||
- name: Upload timeseries CSV
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: csv-flow-model-coverage-timeseries
|
||||
path: timeseries-*.csv
|
||||
name: framework-coverage-timeseries
|
||||
path: framework-coverage-timeseries-*.csv
|
||||
|
||||
|
||||
8
.github/workflows/csv-coverage.yml
vendored
8
.github/workflows/csv-coverage.yml
vendored
@@ -47,11 +47,11 @@ jobs:
|
||||
- name: Upload CSV package list
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: csv-flow-model-coverage
|
||||
path: flow-model-coverage-*.csv
|
||||
name: framework-coverage-csv
|
||||
path: framework-coverage-*.csv
|
||||
- name: Upload RST package list
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: rst-flow-model-coverage
|
||||
path: flow-model-coverage-*.rst
|
||||
name: framework-coverage-rst
|
||||
path: framework-coverage-*.rst
|
||||
|
||||
|
||||
@@ -74,9 +74,10 @@ configs = [
|
||||
|
||||
# todo: change this when we cover multiple languages. We should compute the SHAs
|
||||
# only once and not per language
|
||||
output_prefix = "framework-coverage-timeseries-"
|
||||
for config in configs:
|
||||
with open("timeseries-" + config.lang + ".csv", 'w', newline='') as csvfile_total:
|
||||
with open("timeseries-" + config.lang + "-packages.csv", 'w', newline='') as csvfile_packages:
|
||||
with open(output_prefix + config.lang + ".csv", 'w', newline='') as csvfile_total:
|
||||
with open(output_prefix + config.lang + "-packages.csv", 'w', newline='') as csvfile_packages:
|
||||
csvwriter_total = csv.writer(csvfile_total)
|
||||
csvwriter_packages = csv.writer(csvfile_packages)
|
||||
csvwriter_total.writerow(
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import sys
|
||||
|
||||
generated_output_rst = "flow-model-coverage-{language}.rst"
|
||||
generated_output_csv = "flow-model-coverage-{language}.csv"
|
||||
generated_output_rst = "framework-coverage-{language}.rst"
|
||||
generated_output_csv = "framework-coverage-{language}.csv"
|
||||
|
||||
# The CI job checks out the codebase to a subfolder
|
||||
data_prefix = ""
|
||||
@@ -16,7 +16,7 @@ if len(sys.argv) > index:
|
||||
documentation_folder_no_prefix = "{language}/documentation/library-coverage/"
|
||||
documentation_folder = data_prefix + documentation_folder_no_prefix
|
||||
|
||||
output_rst_file_name = "flow-model-coverage.rst"
|
||||
output_csv_file_name = "flow-model-coverage.csv"
|
||||
output_rst_file_name = "coverage.rst"
|
||||
output_csv_file_name = "coverage.csv"
|
||||
repo_output_rst = documentation_folder + output_rst_file_name
|
||||
repo_output_csv = documentation_folder + output_csv_file_name
|
||||
|
||||
Reference in New Issue
Block a user