From 69d573c8d075e9afa8c2bac8d168455b2d00e7d1 Mon Sep 17 00:00:00 2001 From: Keith Valin Date: Tue, 11 Mar 2025 09:03:54 -0400 Subject: [PATCH 1/2] Feat: Add python version to the header of the CSV --- pyperf/pyperf_run | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pyperf/pyperf_run b/pyperf/pyperf_run index 6ade269..ae8ce57 100755 --- a/pyperf/pyperf_run +++ b/pyperf/pyperf_run @@ -19,6 +19,7 @@ PATH="${PATH}:/usr/local/bin" export PATH python_pkgs="" python_exec="" +PYTHON_VERSION="" PYPERF_VERSION="1.11.0" # # To make sure. @@ -94,7 +95,7 @@ generate_csv_file() res_count=0 value_sum=0 - $TOOLS_BIN/test_header_info --front_matter --results_file "${1}.csv" --host $to_configuration --sys_type $to_sys_type --tuned $to_tuned_setting --results_version $PYPERF_VERSION --test_name $test_name_run + $TOOLS_BIN/test_header_info --front_matter --results_file "${1}.csv" --host $to_configuration --sys_type $to_sys_type --tuned $to_tuned_setting --results_version "py${PYTHON_VERSION}_$PYPERF_VERSION" --test_name $test_name_run echo "Test:Avg:Unit" >> "${1}.csv" while IFS= read -r line @@ -271,7 +272,7 @@ done if [ $to_pbench -eq 0 ]; then rm -rf pyperformance - + PYTHON_VERSION=$(python3 --version | awk '{ print $2 }') python3 -m pip install pyperformance==$PYPERF_VERSION if [ $? -ne 0 ]; then exit_out "python3 -m pip install pyperformance==$PYPERF_VERSION: failed" 1 From d6d6c3e20c8f1246d6a92a3142ce306cd6607d68 Mon Sep 17 00:00:00 2001 From: Keith Valin Date: Wed, 12 Mar 2025 09:38:38 -0400 Subject: [PATCH 2/2] Fix(ci): Add CI fix to use the correct trigger type for the issue labelling workflow --- .github/workflows/issue_tagging.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/issue_tagging.yaml b/.github/workflows/issue_tagging.yaml index f1a8f60..515e002 100644 --- a/.github/workflows/issue_tagging.yaml +++ b/.github/workflows/issue_tagging.yaml @@ -1,7 +1,7 @@ name: Update Parent issue on: - pull_request_target: + pull_request: types: - review_requested pull_request_review: