Skip to content

Commit

Permalink
improve test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
davidzhao committed Oct 16, 2024
1 parent 1a8a7af commit 69526ae
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,20 @@ jobs:
submodules: true
lfs: true

- name: Cache packages
uses: actions/cache@v4
with:
path: |
/var/cache/apt/archives
~/Library/Caches/Homebrew
C:\ProgramData\chocolatey\lib\ffmpeg
key: ${{ runner.os }}-cache
restore-keys: |
${{ runner.os }}-cache
- uses: actions/setup-python@v5
# on mac, ffmpeg installs python
if: ${{ matrix.os != 'macos' }}
with:
python-version: "3.9"
cache: "pip"
Expand Down

0 comments on commit 69526ae

Please sign in to comment.