Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion .github/actions/create_workflow_report/action.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,26 @@
name: Create and Upload Combined Report
description: Create and upload a combined CI report
inputs:
workflow_config:
description: "Workflow config (26.3 FinishCIReport still passes this)"
required: false
default: ""
final:
description: "Control whether the report is final or a preview"
required: false
default: "false"
runs:
using: "composite"
steps:
- name: Create workflow config
if: ${{ inputs.workflow_config != '' }}
shell: bash
run: |
mkdir -p ./ci/tmp
cat > ./ci/tmp/workflow_config.json << 'EOF'
${{ inputs.workflow_config }}
EOF
- name: Create and upload workflow report
env:
PR_NUMBER: ${{ github.event.pull_request.number || 0 }}
Expand All @@ -16,7 +29,10 @@ runs:
FINAL: ${{ inputs.final }}
shell: bash
run: |
pip install clickhouse-driver==0.2.8 numpy==1.26.4 pandas==2.0.3 jinja2==3.1.5
# Newer runners have these deps preinstalled; only install on Ubuntu 22.
if [[ -f /etc/os-release ]] && . /etc/os-release && [[ "$VERSION_ID" == "22.04" ]]; then
pip install clickhouse-driver==0.2.8 numpy==1.26.4 pandas==2.0.3 jinja2==3.1.5
fi
CMD="python3 .github/actions/create_workflow_report/create_workflow_report.py"
ARGS="--actions-run-url $ACTIONS_RUN_URL --known-fails --cves --pr-number $PR_NUMBER"
Expand Down
Loading
Loading