mirror of
https://github.com/gradio-app/gradio.git
synced 2025-01-24 10:54:04 +08:00
Fix ci cache (#7256)
* fix * fix * fix * format tweaks * add changeset * tweaks --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
This commit is contained in:
parent
93728da3ba
commit
09257ef1f1
5
.changeset/tasty-ideas-tan.md
Normal file
5
.changeset/tasty-ideas-tan.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"gradio": minor
|
||||
---
|
||||
|
||||
feat:Fix ci cache
|
@ -27,4 +27,5 @@ sweep.yaml
|
||||
**/*.md
|
||||
**/src/lib/json/**/*
|
||||
**/playwright/.cache/**/*
|
||||
**/theme/src/pollen.css
|
||||
**/theme/src/pollen.css
|
||||
**/venv/**
|
6
.github/workflows/test-python.yml
vendored
6
.github/workflows/test-python.yml
vendored
@ -40,6 +40,9 @@ jobs:
|
||||
- name: echo github context
|
||||
if: always()
|
||||
run: echo "${{ github.event.workflow_run.head_repository.full_name }}-${{ github.event.workflow_run.head_branch }}-${{ github.workflow_ref }}"
|
||||
- name: echo outputs
|
||||
if: always()
|
||||
run: echo ${{ toJson(steps.changes.outputs) }}
|
||||
|
||||
test-python:
|
||||
needs: [changes]
|
||||
@ -55,6 +58,9 @@ jobs:
|
||||
runs-on: ${{ matrix.os }}
|
||||
continue-on-error: true
|
||||
steps:
|
||||
- name: log needs changes
|
||||
if: always()
|
||||
run: echo ${{ toJson(needs.changes.outputs) }}
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
ref: ${{ needs.changes.outputs.merge_sha }}
|
||||
|
@ -1027,7 +1027,7 @@ def make_waveform(
|
||||
frames = int(duration * 10)
|
||||
anim = FuncAnimation(
|
||||
fig, # type: ignore
|
||||
_animate,
|
||||
_animate, # type: ignore
|
||||
repeat=False,
|
||||
blit=False,
|
||||
frames=frames,
|
||||
|
Loading…
Reference in New Issue
Block a user