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:
pngwn 2024-02-01 12:49:48 +00:00 committed by GitHub
parent 93728da3ba
commit 09257ef1f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 14 additions and 2 deletions

View File

@ -0,0 +1,5 @@
---
"gradio": minor
---
feat:Fix ci cache

View File

@ -27,4 +27,5 @@ sweep.yaml
**/*.md
**/src/lib/json/**/*
**/playwright/.cache/**/*
**/theme/src/pollen.css
**/theme/src/pollen.css
**/venv/**

View File

@ -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 }}

View File

@ -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,