From 8231b9f9e7d55141420d77437c5670ea5baf9458 Mon Sep 17 00:00:00 2001 From: Raunak Bhagat Date: Thu, 21 Nov 2024 16:21:53 -0800 Subject: [PATCH] Add types to all inputs; add options to partition_sizes --- .github/workflows/build-commit-run-tpch.yaml | 11 +++++++---- .github/workflows/run-tpch.yaml | 12 ++++++++---- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-commit-run-tpch.yaml b/.github/workflows/build-commit-run-tpch.yaml index e843ec73fe..a09f99a9d4 100644 --- a/.github/workflows/build-commit-run-tpch.yaml +++ b/.github/workflows/build-commit-run-tpch.yaml @@ -4,22 +4,22 @@ on: workflow_dispatch: inputs: skip_questions: + type: string description: The TPC-H questions to skip required: false default: "" scale_factor: - description: Which scale factor to use - required: false type: choice options: - '2' - '10' - '100' - '1000' + description: Which scale factor to use + required: false default: '2' partition_size: - description: Which partition size to use - required: false + type: choice options: - '2' - '32' @@ -28,8 +28,11 @@ on: - '300' - '320' - '512' + description: Which partition size to use + required: false default: '2' python_version: + type: string description: The version of python to use required: false default: '3.9' diff --git a/.github/workflows/run-tpch.yaml b/.github/workflows/run-tpch.yaml index 91464a5161..4e34251fcf 100644 --- a/.github/workflows/run-tpch.yaml +++ b/.github/workflows/run-tpch.yaml @@ -4,26 +4,27 @@ on: workflow_dispatch: inputs: wheel: + type: string description: The wheel artifact to use required: false default: getdaft-0.3.0.dev0-cp38-abi3-manylinux_2_31_x86_64.whl skip_questions: + type: string description: The TPC-H questions to skip required: false default: "" scale_factor: - description: Which scale factor to use - required: false type: choice options: - '2' - '10' - '100' - '1000' + description: Which scale factor to use + required: false default: '2' partition_size: - description: Which partition size to use - required: false + type: choice options: - '2' - '32' @@ -32,8 +33,11 @@ on: - '300' - '320' - '512' + description: Which partition size to use + required: false default: '2' python_version: + type: string description: The version of python to use required: false default: "3.9"