Skip to content

Commit

Permalink
[TMP] Trigger CI based on this PR
Browse files Browse the repository at this point in the history
  • Loading branch information
whitphx committed Apr 25, 2024
1 parent 43f9e88 commit 6cea830
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/actions/install-all-deps/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/deploy-spaces.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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'
Expand Down
17 changes: 9 additions & 8 deletions .github/workflows/test-functional.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 6cea830

Please sign in to comment.