From 6cea830c8e9f853c612c7286cba68027b5262b3b Mon Sep 17 00:00:00 2001 From: "Yuichiro Tachibana (Tsuchiya)" Date: Thu, 25 Apr 2024 16:15:15 +0900 Subject: [PATCH] [TMP] Trigger CI based on this PR --- .github/actions/install-all-deps/action.yml | 2 +- .github/workflows/deploy-spaces.yml | 13 +++++++------ .github/workflows/test-functional.yml | 17 +++++++++-------- 3 files changed, 17 insertions(+), 15 deletions(-) diff --git a/.github/actions/install-all-deps/action.yml b/.github/actions/install-all-deps/action.yml index 0c4d5c6d0e932..132a12bb11a89 100644 --- a/.github/actions/install-all-deps/action.yml +++ b/.github/actions/install-all-deps/action.yml @@ -82,7 +82,7 @@ runs: python -m pip install -e client/python python -m pip install -e ".[oauth]" - name: install-frontend - uses: "gradio-app/gradio/.github/actions/install-frontend-deps@main" + uses: "gradio-app/gradio/.github/actions/install-frontend-deps@lite-wheel-contents-optimization" with: always_install_pnpm: ${{ inputs.always_install_pnpm }} skip_build: ${{ inputs.skip_build }} diff --git a/.github/workflows/deploy-spaces.yml b/.github/workflows/deploy-spaces.yml index 5ea856c7bbcc8..767ccb74bfcb0 100644 --- a/.github/workflows/deploy-spaces.yml +++ b/.github/workflows/deploy-spaces.yml @@ -1,11 +1,12 @@ name: "deploy / spaces" on: - workflow_dispatch: - workflow_run: - workflows: ["trigger"] - types: - - requested + # workflow_dispatch: + # workflow_run: + # workflows: ["trigger"] + # types: + # - requested + pull_request permissions: statuses: write @@ -72,7 +73,7 @@ jobs: cache-dependency-path: pnpm-lock.yaml - name: install dependencies - uses: "gradio-app/gradio/.github/actions/install-all-deps@main" + uses: "gradio-app/gradio/.github/actions/install-all-deps@lite-wheel-contents-optimization" with: always_install_pnpm: true skip_build: 'true' diff --git a/.github/workflows/test-functional.yml b/.github/workflows/test-functional.yml index 3d20f26ef6110..ea039e999bb5e 100644 --- a/.github/workflows/test-functional.yml +++ b/.github/workflows/test-functional.yml @@ -1,17 +1,18 @@ name: "test / functional" on: - workflow_run: - workflows: ["trigger"] - types: - - requested + # workflow_run: + # workflows: ["trigger"] + # types: + # - requested + pull_request permissions: statuses: write -concurrency: - group: "${{ github.event.workflow_run.head_repository.full_name }}-${{ github.event.workflow_run.head_branch }}-${{ github.workflow_ref }}" - cancel-in-progress: true +# concurrency: +# group: "${{ github.event.workflow_run.head_repository.full_name }}-${{ github.event.workflow_run.head_branch }}-${{ github.workflow_ref }}" +# cancel-in-progress: true jobs: changes: @@ -49,7 +50,7 @@ jobs: repository: ${{ needs.changes.outputs.mergeable == 'true' && github.repository || needs.changes.outputs.source_repo }} - name: install dependencies id: install_deps - uses: "gradio-app/gradio/.github/actions/install-all-deps@main" + uses: "gradio-app/gradio/.github/actions/install-all-deps@lite-wheel-contents-optimization" with: always_install_pnpm: true build_lite: true