From 3a847ee4e07bbf6cb8d721aa1a1a61d8a93c230b Mon Sep 17 00:00:00 2001 From: Henry551 <97020646+Henry551@users.noreply.github.com> Date: Wed, 11 Sep 2024 10:37:52 +0800 Subject: [PATCH] Create QPE.yml --- .github/workflows/QPE.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/QPE.yml diff --git a/.github/workflows/QPE.yml b/.github/workflows/QPE.yml new file mode 100644 index 00000000000..e0a2a95c0bf --- /dev/null +++ b/.github/workflows/QPE.yml @@ -0,0 +1,33 @@ +name: QPE_example + +on: + workflow_dispatch: + +jobs: + samples: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: 3.8 + + - name: Create KFP cluster + uses: ./.github/actions/kfp-cluster + + - name: Forward API port + run: ./scripts/deploy/github/forward-port.sh "kubeflow" "ml-pipeline" 8888 8888 + + - name: Grant execute permissions to scripts + shell: bash + run: chmod +x ./samples/contrib/QPE_pipeline_example/QPE.sh + + - name: Install dos2unix + run: sudo apt-get update && sudo apt-get install dos2unix + + - name: Run Samples Tests + run: dos2unix ./samples/contrib/QPE_pipeline_example/QPE.sh && ./samples/contrib/QPE_pipeline_example/QPE.sh